HttpModuleCollection BuildIntegratedModuleCollection(List<ModuleConfigurationInfo> moduleList) { HttpModuleCollection modules = new HttpModuleCollection(); foreach(ModuleConfigurationInfo mod in moduleList) { #if DBG Debug.Trace("NativeConfig", "Runtime module: " + mod.Name + " of type " + mod.Type + "\n"); #endif ModulesEntry currentModule = new ModulesEntry(mod.Name, mod.Type, "type", null); modules.AddModule(currentModule.ModuleName, currentModule.Create()); } return modules; }
public HttpModuleAction(string name, string type) : this() { this.Name = name; this.Type = type; this._modualEntry = null; }
public HttpModuleAction(String name, String type) : this() { Name = name; Type = type; _modualEntry = null; }
private HttpModuleCollection BuildIntegratedModuleCollection(List<ModuleConfigurationInfo> moduleList) { HttpModuleCollection modules = new HttpModuleCollection(); foreach (ModuleConfigurationInfo info in moduleList) { ModulesEntry entry = new ModulesEntry(info.Name, info.Type, "type", null); modules.AddModule(entry.ModuleName, entry.Create()); } return modules; }