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;
        }
 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;
 }