Exemplo n.º 1
0
 static ModuleBuilder()
 {
     ModuleType = typeof(TModule);
     SetConstructor(ModuleType.GetConstructors().First());
     Context       = ModuleType.GetProperty("Context").DeclaringType.GetProperty("Context");
     BeforeExecute = ModuleType.GetRuntimeMethods().First(x => x.Name == "BeforeExecute");
 }