public PageController(UserManager <GearUser> userManager, RoleManager <GearRole> roleManager, ICacheService cacheService, ApplicationDbContext applicationDbContext, EntitiesDbContext context, INotify <GearRole> notify, IPageRender pageRender, IFormService formService, IDynamicPagesContext pagesContext, IMemoryCache memoryCache) : base(userManager, roleManager, applicationDbContext, context, notify)
 {
     _cacheService = cacheService;
     _pageRender   = pageRender;
     _formService  = formService;
     _pagesContext = pagesContext;
     _memoryCache  = memoryCache;
 }
Exemple #2
0
 public PageController(IPageRender pageRender, IFormService formService, IDynamicPagesContext pagesContext, IEntityContext context, RoleManager <GearRole> roleManager, ICacheService cacheService)
 {
     _pageRender   = pageRender;
     _formService  = formService;
     _pagesContext = pagesContext;
     _context      = context;
     _roleManager  = roleManager;
     _cacheService = cacheService;
 }
Exemple #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="appContext"></param>
 /// <param name="service"></param>
 /// <param name="pageRender"></param>
 /// <param name="formContext"></param>
 /// <param name="pagesContext"></param>
 public PageRenderController(ApplicationDbContext appContext,
                             IDynamicService service,
                             IPageRender pageRender,
                             IFormContext formContext, IDynamicPagesContext pagesContext)
 {
     _appContext   = appContext;
     _service      = service;
     _formContext  = formContext;
     _pagesContext = pagesContext;
     _pageRender   = pageRender;
 }
Exemple #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="appContext"></param>
 /// <param name="service"></param>
 /// <param name="pageRender"></param>
 /// <param name="formContext"></param>
 /// <param name="pagesContext"></param>
 /// <param name="viewModelService"></param>
 public PageRenderController(GearIdentityDbContext appContext,
                             IDynamicService service,
                             IPageRender pageRender,
                             IFormContext formContext, IDynamicPagesContext pagesContext, IViewModelService viewModelService)
 {
     _appContext       = appContext;
     _service          = service;
     _formContext      = formContext;
     _pagesContext     = pagesContext;
     _viewModelService = viewModelService;
     _pageRender       = pageRender;
 }
 public AuthorizePageAttributeExecutor(IPageRender pageRender, IPageAclService pageAclService, RoleManager <GearRole> roleManager)
 {
     _pageRender     = pageRender;
     _pageAclService = pageAclService;
     _roleManager    = roleManager;
 }
Exemple #6
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ViewModelController(IViewModelService viewModelService, IPageRender pageRender)
 {
     _viewModelService = viewModelService;
     _pageRender       = pageRender;
 }
Exemple #7
0
 public ApplicationTagHelper(IPageRender pageRender)
 {
     _pageRender = pageRender;
 }
Exemple #8
0
 public LayoutJsScriptsTagHelper(IPageRender pageRender)
 {
     _pageRender = pageRender;
 }
 public LayoutJsCodeTagHelper(IPageRender pageRender)
 {
     _pageRender = pageRender;
 }