public static GetStaticMethod ( |
||
type | ||
methName | string | |
return |
public static MethodInfo GetStaticMethod(Type type, string methName)
{
MethodInfo methInfo = type.GetTypeInfo().GetMethod(methName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static);
Debug.Assert(methInfo != null, "Static method " + type.Name + "." + methName + " not found");
return methInfo;
}