Esempio n. 1
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <ThemeAdmin> viewProvider,
            IAuthorizationService authorizationService,
            ISiteThemeFileManager themeFileManager,
            ISiteSettingsStore siteSettingsStore,
            IBreadCrumbManager breadCrumbManager,
            ISiteThemeLoader siteThemeLoader,
            IContextFacade contextFacade,
            IShellSettings shellSettings,
            IPlatoFileSystem fileSystem,
            IThemeCreator themeCreator,
            ISitesFolder sitesFolder,
            IPlatoHost platoHost,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _siteSettingsStore    = siteSettingsStore;
            _breadCrumbManager    = breadCrumbManager;
            _themeFileManager     = themeFileManager;
            _siteThemeLoader      = siteThemeLoader;
            _shellSettings        = shellSettings;
            _contextFacade        = contextFacade;
            _themeCreator         = themeCreator;
            _viewProvider         = viewProvider;
            _fileSystem           = fileSystem;
            _platoHost            = platoHost;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 2
0
        public AccountController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <UserRegistration> registerViewProvider,
            IViewProviderManager <LoginPage> loginViewProvider,
            IOptions <IdentityOptions> identityOptions,
            IPlatoUserManager <User> platoUserManager,
            IPlatoUserStore <User> platoUserStore,
            IBreadCrumbManager breadCrumbManager,
            IOptions <SiteOptions> siteOptions,
            ILogger <AccountController> logger,
            SignInManager <User> signInManage,
            UserManager <User> userManager,
            IUserEmails userEmails)
        {
            _registerViewProvider = registerViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _loginViewProvider    = loginViewProvider;
            _platoUserManager     = platoUserManager;
            _identityOptions      = identityOptions;
            _platoUserStore       = platoUserStore;
            _siteOptions          = siteOptions.Value;
            _signInManager        = signInManage;
            _userManager          = userManager;
            _userEmails           = userEmails;

            _logger = logger;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 3
0
        public TopicViewProvider(
            IStringLocalizer stringLocalizer,
            IEntityCategoryStore <EntityCategory> entityCategoryStore,
            ICategoryDetailsUpdater categoryDetailsUpdater,
            IEntityCategoryManager entityCategoryManager,
            IHttpContextAccessor httpContextAccessor,
            ICategoryStore <Category> categoryStore,
            IBreadCrumbManager breadCrumbManager,
            IPostManager <Topic> entityManager,
            IEntityStore <Topic> entityStore,
            IFeatureFacade featureFacade,
            IContextFacade contextFacade)
        {
            _request = httpContextAccessor.HttpContext.Request;
            _entityCategoryManager  = entityCategoryManager;
            _categoryDetailsUpdater = categoryDetailsUpdater;
            _entityCategoryStore    = entityCategoryStore;
            _breadCrumbManager      = breadCrumbManager;
            _featureFacade          = featureFacade;
            _entityManager          = entityManager;
            _contextFacade          = contextFacade;
            _categoryStore          = categoryStore;
            _entityStore            = entityStore;

            T = stringLocalizer;
            S = stringLocalizer;
        }
Esempio n. 4
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <DefaultTenantSettings> settingsViewProvider,
            IViewProviderManager <ShellSettings> viewProvider,
            IAuthorizationService authorizationService,
            IShellSettingsManager shellSettingsManager,
            IBreadCrumbManager breadCrumbManager,
            ITenantSetUpService setUpService,
            ILogger <AdminController> logger,
            IShellSettings shellSettings,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _shellSettingsManager = shellSettingsManager;
            _settingsViewProvider = settingsViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _shellSettings        = shellSettings;
            _viewProvider         = viewProvider;
            _setUpService         = setUpService;
            _alerter = alerter;
            _logger  = logger;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 5
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IUserSecurityStampStore <User> securityStampStore,
            IAuthorizationService authorizationService,
            IPlatoUserManager <User> platoUserManager,
            IViewProviderManager <User> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IPlatoUserStore <User> platoUserStore,
            UserManager <User> userManager,
            IContextFacade contextFacade,
            IUserEmails userEmails,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _securityStampStore   = securityStampStore;
            _breadCrumbManager    = breadCrumbManager;
            _platoUserManager     = platoUserManager;
            _platoUserStore       = platoUserStore;
            _contextFacade        = contextFacade;
            _viewProvider         = viewProvider;
            _userManager          = userManager;
            _userEmails           = userEmails;
            _alerter = alerter;


            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 6
0
        public AdminController(
            ISampleEntityCategoriesService sampleEntityCategoriesService,
            ISampleEntityLabelsService sampleEntityLabelsService,
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            ISampleCategoriesService sampleCategoriesService,
            IViewProviderManager <DemoSettings> viewProvider,
            ISampleEntityTagsService sampleEntityTagsService,
            ISampleEntitiesService sampleEntitiesService,
            ISampleLabelsService sampleLabelsService,
            ISampleUsersService sampleUsersService,
            ISampleTagsService sampleTagsService,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _sampleEntityCategoriesService = sampleEntityCategoriesService;
            _sampleEntityLabelsService     = sampleEntityLabelsService;
            _sampleEntityTagsService       = sampleEntityTagsService;
            _sampleCategoriesService       = sampleCategoriesService;
            _sampleEntitiesService         = sampleEntitiesService;
            _sampleLabelsService           = sampleLabelsService;
            _sampleUsersService            = sampleUsersService;
            _sampleTagsService             = sampleTagsService;
            _breadCrumbManager             = breadCrumbManager;
            _viewProvider = viewProvider;
            _alerter      = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 7
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <FileSetting> settingsViewProvider,
            IFileViewIncrementer <File> fileViewIncrementer,
            IViewProviderManager <File> indexViewProvider,
            IAuthorizationService authorizationService,
            IBreadCrumbManager breadCrumbManager,
            IPlatoRoleStore platoRoleStore,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IFileStore <File> fileStore,
            IFileManager fileManager,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _settingsViewProvider = settingsViewProvider;
            _fileViewIncrementer  = fileViewIncrementer;
            _adminViewProvider    = indexViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _platoRoleStore       = platoRoleStore;
            _featureFacade        = featureFacade;
            _contextFacade        = contextFacade;
            _fileManager          = fileManager;
            _fileStore            = fileStore;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 8
0
 public BreadCrumbTagHelper(
     IActionContextAccessor actionContextAccessor,
     IBreadCrumbManager breadCrumbManager)
 {
     _actionContextAccessor = actionContextAccessor;
     _breadCrumbManager     = breadCrumbManager;
     _htmlEncoder           = HtmlEncoder.Default;
 }
Esempio n. 9
0
 public PageTitleTagHelper(
     IContextFacade contextFacade,
     IPageTitleBuilder pageTitleBuilder,
     IBreadCrumbManager breadCrumbManager,
     IActionContextAccessor actionContextAccessor)
 {
     _pageTitleBuilder      = pageTitleBuilder;
     _breadCrumbManager     = breadCrumbManager;
     _actionContextAccessor = actionContextAccessor;
 }
Esempio n. 10
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <AdminIndex> viewProvider,
            IBreadCrumbManager breadCrumbManager)
        {
            _viewProvider      = viewProvider;
            _breadCrumbManager = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 11
0
        public HomeController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <Badge> badgeViewProvider,
            IBreadCrumbManager breadCrumbManager)
        {
            _badgeViewProvider = badgeViewProvider;
            _breadCrumbManager = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 12
0
        public CommentViewProvider(
            IStringLocalizer <CommentViewProvider> stringLocalizer,
            ICategoryStore <Category> categoryStore,
            IBreadCrumbManager breadCrumbManager,
            IEntityStore <Issue> entityStore)
        {
            _breadCrumbManager = breadCrumbManager;
            _categoryStore     = categoryStore;
            _entityStore       = entityStore;

            T = stringLocalizer;
            S = stringLocalizer;
        }
Esempio n. 13
0
        public IdeaCommentViewProvider(
            IStringLocalizer <IdeaCommentViewProvider> stringLocalizer,
            IEntityStore <Idea> entityStore,
            ICategoryStore <Category> channelStore,
            IBreadCrumbManager breadCrumbManager)
        {
            _entityStore       = entityStore;
            _channelStore      = channelStore;
            _breadCrumbManager = breadCrumbManager;

            T = stringLocalizer;
            S = stringLocalizer;
        }
Esempio n. 14
0
        public AnswerViewProvider(
            IStringLocalizer <AnswerViewProvider> stringLocalizer,
            IEntityStore <Question> entityStore,
            ICategoryStore <Category> channelStore,
            IBreadCrumbManager breadCrumbManager)
        {
            _entityStore       = entityStore;
            _channelStore      = channelStore;
            _breadCrumbManager = breadCrumbManager;

            T = stringLocalizer;
            S = stringLocalizer;
        }
Esempio n. 15
0
        public ReplyViewProvider(
            IStringLocalizer <ReplyViewProvider> stringLocalizer,
            IEntityStore <Topic> entityStore,
            ICategoryStore <Category> channelStore,
            IBreadCrumbManager breadCrumbManager)
        {
            _entityStore       = entityStore;
            _channelStore      = channelStore;
            _breadCrumbManager = breadCrumbManager;

            T = stringLocalizer;
            S = stringLocalizer;
        }
Esempio n. 16
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <PlatoSiteSettings> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _breadCrumbManager = breadCrumbManager;
            _viewProvider      = viewProvider;
            _alerter           = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 17
0
        public HomeController(
            IStringLocalizer stringLocalizer,
            IHtmlLocalizer localizer,
            IViewProviderManager <HomeIndex> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IContextFacade contextFacade,
            IAlerter alerter)
        {
            _alerter           = alerter;
            _breadCrumbManager = breadCrumbManager;
            _viewProvider      = viewProvider;

            T = localizer;
            S = stringLocalizer;
        }
Esempio n. 18
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <PlatoTwitterSettings> viewProvider,
            IAuthorizationService authorizationService,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _breadCrumbManager    = breadCrumbManager;
            _viewProvider         = viewProvider;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 19
0
        public HomeController(
            IStringLocalizer stringLocalizer,
            IHtmlLocalizer localizer,
            ISearchSettingsStore <SearchSettings> searchSettingsStore,
            IViewProviderManager <SearchResult> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IContextFacade contextFacade)
        {
            _searchSettingsStore = searchSettingsStore;
            _breadCrumbManager   = breadCrumbManager;
            _contextFacade       = contextFacade;
            _viewProvider        = viewProvider;

            T = localizer;
            S = stringLocalizer;
        }
Esempio n. 20
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IAuthorizationService authorizationService,
            IHttpsSettingsStore <HttpsSettings> httpsSettingsStore,
            IAlerter alerter,
            IBreadCrumbManager breadCrumbManager)
        {
            _alerter              = alerter;
            _breadCrumbManager    = breadCrumbManager;
            _authorizationService = authorizationService;
            _httpsSettingsStore   = httpsSettingsStore;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 21
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            ISiteSettingsStore settingsStore,
            IContextFacade contextFacade,
            IViewProviderManager <AdminIndex> viewProvider,
            IBreadCrumbManager breadCrumbManager)
        {
            _settingsStore     = settingsStore;
            _contextFacade     = contextFacade;
            _viewProvider      = viewProvider;
            _breadCrumbManager = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 22
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <Role> roleViewProvider,
            RoleManager <Role> roleManager, IAlerter alerter,
            IAuthorizationService authorizationService,
            IBreadCrumbManager breadCrumbManager)
        {
            _roleViewProvider     = roleViewProvider;
            _roleManager          = roleManager;
            _alerter              = alerter;
            _authorizationService = authorizationService;
            _breadCrumbManager    = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 23
0
        public UserController(
            IStringLocalizer stringLocalizer,
            IHtmlLocalizer localizer,
            IContextFacade contextFacade,
            IAlerter alerter, IBreadCrumbManager breadCrumbManager,
            IPlatoUserStore <User> platoUserStore,
            IViewProviderManager <EntityUserIndex> userViewProvider,
            IPageTitleBuilder pageTitleBuilder)
        {
            _contextFacade     = contextFacade;
            _breadCrumbManager = breadCrumbManager;
            _platoUserStore    = platoUserStore;
            _userViewProvider  = userViewProvider;
            _pageTitleBuilder  = pageTitleBuilder;

            T = localizer;
            S = stringLocalizer;
        }
Esempio n. 24
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <Moderator> viewProvider,
            IModeratorStore <Moderator> moderatorStore,
            IPlatoUserStore <User> userStore,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _viewProvider      = viewProvider;
            _userStore         = userStore;
            _moderatorStore    = moderatorStore;
            _breadCrumbManager = breadCrumbManager;
            _alerter           = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 25
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <SettingsIndex> viewProvider,
            IAuthorizationService authorizationService,
            ISiteSettingsStore siteSettingsStore,
            IBreadCrumbManager breadCrumbManager,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _siteSettingsStore    = siteSettingsStore;
            _breadCrumbManager    = breadCrumbManager;
            _viewProvider         = viewProvider;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 26
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <PageViewIndex> pageViewsViewProvider,
            IBreadCrumbManager breadCrumbManager,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _pageViewsViewProvider = pageViewsViewProvider;
            _breadCrumbManager     = breadCrumbManager;
            _featureFacade         = featureFacade;
            _contextFacade         = contextFacade;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 27
0
        public ProfileController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <UserBadge> userBadgeViewProvider,
            IBreadCrumbManager breadCrumbManager,
            IPlatoUserStore <User> platoUserStore,
            IPageTitleBuilder pageTitleBuilder,
            IContextFacade contextFacade)
        {
            _userBadgeViewProvider = userBadgeViewProvider;
            _breadCrumbManager     = breadCrumbManager;
            _pageTitleBuilder      = pageTitleBuilder;
            _platoUserStore        = platoUserStore;
            _contextFacade         = contextFacade;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 28
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IAuthorizationService authorizationService,
            IAlerter alerter,
            IBreadCrumbManager breadCrumbManager,
            IViewProviderManager <ReCaptchaSettings> viewProvider,
            IReCaptchaSettingsStore <ReCaptchaSettings> recaptchaSettingsStore)
        {
            _authorizationService = authorizationService;
            _alerter                = alerter;
            _breadCrumbManager      = breadCrumbManager;
            _viewProvider           = viewProvider;
            _recaptchaSettingsStore = recaptchaSettingsStore;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 29
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IAuthorizationService authorizationService,
            IViewProviderManager <SearchSettings> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IFullTextCatalogManager fullTextCatalogManager,
            IAlerter alerter)
        {
            _breadCrumbManager      = breadCrumbManager;
            _authorizationService   = authorizationService;
            _fullTextCatalogManager = fullTextCatalogManager;
            _viewProvider           = viewProvider;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 30
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <ReportIndex> reportViewProvider,
            IBreadCrumbManager breadCrumbManager,
            ISiteSettingsStore settingsStore,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _contextFacade      = contextFacade;
            _reportViewProvider = reportViewProvider;
            _breadCrumbManager  = breadCrumbManager;
            _alerter            = alerter;
            _featureFacade      = featureFacade;

            T = htmlLocalizer;
            S = stringLocalizer;
        }