Is there an easy way to use reflection to get a list of parameters for a delegate if you have his type information?
As an example, if I declare a delegate type as follows
delegate double FooDelegate (string param, bool condition);
and then get the type information for this type of delegate as follows
Type delegateType = typeof(FooDelegate);
Is it possible to get a return type (double) and a list of parameters ({string, bool}) from this type information object?
reflection c # delegates
fastcall Jan 9 '09 at 20:16 2009-01-09 20:16
source share