public MethodInfo[] GetMethods() { if (RuntimeType == null) return new MethodInfo[0]; return RuntimeType.GetMethods(); }
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); } }