internal static CachedModule _GetModule(this ControllerBase ctrl, string moduleName, bool ignoreCase = false)
 {
     return(WebExModuleExtensions._GetModule(ctrl.ControllerContext.RequestContext.HttpContext.Items, ModulesCatalog.GetModule(ctrl.ControllerContext.HttpContext.Application, moduleName, ignoreCase)));
 }
Example #2
0
 internal static CachedModule _GetModule(this HtmlHelper helper, string moduleName, bool ignoreCase = false)
 {
     return(WebExModuleExtensions._GetModule(helper.ViewContext.RequestContext.HttpContext.Items, ModulesCatalog.GetModule(helper.ViewContext.HttpContext.Application, moduleName, ignoreCase)));
 }