public static MvcHtmlString RenderModules(this HtmlHelper helper, string viewType,
                                           IDictionary <IModule, int> moduleOrderWeight,
                                           AuthorizeAttribute auth)
 {
     return(helper.RenderModules(viewType, moduleOrderWeight, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModules(this HtmlHelper helper, string viewType, AuthorizeAttribute auth)
 {
     return(helper.RenderModules(viewType, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModules(this HtmlHelper helper, IEnumerable <IModule> modules,
                                           string view, AuthorizeAttribute auth,
                                           IDictionary <string, object> args = null)
 {
     return(helper.RenderModules(modules, auth, args, view));
 }
 public static MvcHtmlString RenderModulesFolder(this HtmlHelper helper, string modulesFolder, AuthorizeAttribute auth,
                                                 IDictionary <string, object> args = null,
                                                 string view = null)
 {
     return(helper.RenderModulesFolder(modulesFolder, args, view, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModule(this HtmlHelper helper, string moduleName, object moduleModel, AuthorizeAttribute auth, string moduleInstanceId = null)
 {
     return(helper.RenderModule(moduleName, (IDictionary <string, object>)null, auth, null, moduleModel, false, moduleInstanceId));
 }
 public static MvcHtmlString RenderModule(this HtmlHelper helper, IModule module, IDictionary <string, object> args,
                                          IModuleView view, object model, string moduleInstanceId,
                                          AuthorizeAttribute auth)
 {
     return(helper.RenderModule(module, args, view, model, moduleInstanceId, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModule(this HtmlHelper helper, string moduleFolder, IModuleView view, AuthorizeAttribute auth, object model = null,
                                          bool ignoreCase = false, string moduleInstanceId = null, IDictionary <string, object> args = null)
 {
     return(helper.RenderModule(moduleFolder, view, model, ignoreCase, moduleInstanceId, args, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModuleArgs(this HtmlHelper helper, string moduleName, object args,
                                              AuthorizeAttribute auth, string view = null, object moduleModel = null,
                                              bool ignoreCase = false, string moduleInstanceId = null)
 {
     return(helper.RenderModuleArgs(moduleName, args, view, moduleModel, ignoreCase, moduleInstanceId, new[] { auth }, null));
 }
 public static MvcHtmlString RenderModule(this HtmlHelper helper, Type module, AuthorizeAttribute auth, IDictionary <string, object> args = null,
                                          string view             = null,
                                          string moduleInstanceId = null)
 {
     return(helper.RenderModule(module, args, view, moduleInstanceId, new[] { auth }, null));
 }