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

GetMethods() public method

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

            return RuntimeType.GetMethods();           
        }
        

Same methods

Module::GetMethods ( BindingFlags bindingFlags ) : 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