Example #1
0
 public static MethodInfo FindMethod(this Type type, string name, params Type[] arguments)
 {
     return(MethodInfoCache.ForType(type).FindMethod(name, arguments));
 }
Example #2
0
 public static MethodInfo Method(this Type type, string name, Type[] genericArguments, Type[] arguments)
 {
     return(MethodInfoCache.ForType(type).GetGeneric(name, genericArguments, arguments));
 }
Example #3
0
 public static MethodInfo Method(this Type type, string name, int genericArgCount, params Type[] arguments)
 {
     return(MethodInfoCache.ForType(type).GetSubstituted(name, genericArgCount, arguments));
 }
Example #4
0
 public static MethodInfo Method(this Type type, string name)
 {
     return(MethodInfoCache.ForType(type).First(name));
 }
Example #5
0
 public static MethodInfo[] Methods(this Type type, string name)
 {
     return(MethodInfoCache.ForType(type).Get(name));
 }
Example #6
0
 public static MethodInfo[] Methods(this Type type)
 {
     return(MethodInfoCache.ForType(type).Methods);
 }