How to get the correct MethodInfo object when a class uses generics and generic type parameters

I was wondering if someone might be able to demonstrate how to use Type's GetMethod() method to retrieve a MethodInfo object for the following signature:

Class.StaticMethod<T>(T arg1, IInterface1 arg2, IEnumerable<IInterface2> arg3)

Thanks,

Xam

8
задан Xam 29 December 2010 в 11:07
поделиться