public IModuleRegistrator IncludeSubgroup(string subgroupName, Action <IModuleFunctionRegistrator> regModule) { subgroupName.Guard("SubgroupName must not be null."); regModule.Guard("Action<IModuleFunctionRegistrator> must not be null."); IModuleRegistrator moduleRegistrator = new ModuleRegistrator(_moduleFunctionCollectionContainer, _groupModuleName, subgroupName); regModule(moduleRegistrator); return(moduleRegistrator); }
public ModuleSpecialFunctionRegistrator(ModuleRegistrator moduleRegistrator) { moduleRegistrator.Guard("ModuleRegistrator must not be null."); _moduleRegistrator = moduleRegistrator; _functionRegistrator = new FunctionRegistrator(_moduleRegistrator); }
public FunctionRegistrator(ModuleRegistrator moduleRegistrator) { moduleRegistrator.Guard("ModuleRegistrator must not be null."); _moduleRegistrator = moduleRegistrator; }