Hi Ravi,

On Wed, 2002-06-26 at 17:28, Ravi Pratap M wrote:
>       I don't think you can get at this information in any way but by using
> the Reflection API once again but that would need the name of the type
> at the minimum and no, not using any clever casting from a method name.

        Yes I can see that it is possible if you have the following:

        myObject.signalConnect (obj, "signal_name",
                                anObject, "methodOnAnObject");

        But that rather sucks too - albeit slightly less than some other
approaches. Then at least you can get the type information out of the
equation relatively easily. I would much prefer to pass
anObject.methodOnAnObject to the signalConnect method, as a generic
function pointer.

        Regards,

                Michael.

-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to