System.Reflection.Module.GetMethods C# (CSharp) Method

GetMethods() public method

public GetMethods ( BindingFlags bindingFlags ) : System.Reflection.MethodInfo[]
bindingFlags BindingFlags
return System.Reflection.MethodInfo[]
        public MethodInfo[] GetMethods(BindingFlags bindingFlags)
        {
            if (RuntimeType == null)
                return new MethodInfo[0];
        
            return RuntimeType.GetMethods(bindingFlags);           
        }
        

Same methods

Module::GetMethods ( ) : System.Reflection.MethodInfo[]

Usage Example

Esempio n. 1
0
 public static void RegisterModule(Module module)
 {
     if (module == null)
         throw new ArgumentNullException("module");
     foreach (Type type in module.GetTypes())
     {
         RegisterType(type);
     }
     foreach (MethodInfo method in module.GetMethods())
     {
         RegisterMethod(method);
     }
 }
All Usage Examples Of System.Reflection.Module::GetMethods