Esempio n. 1
0
        public static MethodInfo GetDeclaredMethod(this Type type, string name, Type[] parameters)
        {
            if (type == null)
            {
                throw new ArgumentNullException("type");
            }

            return(GenericsReflection.GetMethod(type, name, Type.BindFlags.DeclaredMembers, parameters));
        }
Esempio n. 2
0
 public MethodInfo GetMethod(string name, Type[] parameters)
 {
     return(GenericsReflection.GetMethod(this, name, BindFlags.PublicMembers, parameters));
 }
Esempio n. 3
0
 public MethodInfo GetMethod(string name)
 {
     return(GenericsReflection.GetMethod(this, name, BindFlags.PublicMembers, null));
 }