コード例 #1
0
 public SiteMasterPageController
 (
     PageSecurityService pageSecurity,
     PageMasterManager masterPageManager,
     ContentManager widgetManager,
     SiteTemplateManager templateManager,
     SiteContext siteContext,
     IContextAccessor <UserContext> userContextAccessor
 )
     : base()
 {
     _pageSecurity        = pageSecurity;
     _masterPageManager   = masterPageManager;
     _templateManager     = templateManager;
     _siteContext         = siteContext;
     _contentManager      = widgetManager;
     _userContextAccessor = userContextAccessor;
 }
コード例 #2
0
        public UserPageController
        (
            PageManager pageManager,
            PageSecurityService pageSecurity,
            SiteManager siteManager,
            UserPageComponent userPageComponent,
            UserConsoleComponentFactory userComponentFactory,
            IContextAccessor <UserContext> userContextAccessor
        )
        {
            _pageManager          = pageManager;
            _siteManager          = siteManager;
            _pageSecurity         = pageSecurity;
            _userPageComponent    = userPageComponent;
            _userComponentFactory = userComponentFactory;

            _userContextAccessor = userContextAccessor;
        }
コード例 #3
0
 public SiteCssController(SiteManager siteManager, PageSecurityService pageSecurity, SiteContextAccessor siteContextAccessor)
 {
     _siteManager         = siteManager;
     _siteContextAccessor = siteContextAccessor;
     _pageSecurity        = pageSecurity;
 }