Esempio n. 1
0
        public ApiController(
            IHttpMultiPartRequestHandler multiPartRequestHandler,
            IEntityFileStore <EntityFile> entityFileStore,
            IAuthorizationService authorizationService,
            IFileValidator attachmentValidator,
            IFileStore <File> attachmentStore,
            ILogger <ApiController> logger,
            IHtmlLocalizer htmlLocalizer,
            IFeatureFacade featureFacade,
            IFileManager fileManager)
        {
            _multiPartRequestHandler = multiPartRequestHandler;
            _authorizationService    = authorizationService;
            _fileValidator           = attachmentValidator;
            _entityFileStore         = entityFileStore;
            _featureFacade           = featureFacade;
            _fileStore   = attachmentStore;
            _fileManager = fileManager;
            _logger      = logger;

            T = htmlLocalizer;
        }
Esempio n. 2
0
        public ArticleViewProvider(
            IEntityLabelManager <EntityLabel> entityLabelManager,
            IEntityLabelStore <EntityLabel> entityLabelStore,
            IHttpContextAccessor httpContextAccessor,
            IEntityStore <Article> entityStore,
            ILabelStore <Label> labelStore,
            IStringLocalizer stringLocalize,
            IFeatureFacade featureFacade,
            IContextFacade contextFacade,
            ICacheManager cacheManager)
        {
            _request            = httpContextAccessor.HttpContext.Request;
            _entityLabelManager = entityLabelManager;
            _entityLabelStore   = entityLabelStore;
            _featureFacade      = featureFacade;
            _contextFacade      = contextFacade;
            _cacheManager       = cacheManager;
            _entityStore        = entityStore;
            _labelStore         = labelStore;

            T = stringLocalize;
        }
Esempio n. 3
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IContextFacade contextFacade,
            ITagStore <Tag> tagStore,
            ITagManager <Tag> tagManager,
            IViewProviderManager <TagAdmin> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _contextFacade     = contextFacade;
            _tagStore          = tagStore;
            _viewProvider      = viewProvider;
            _alerter           = alerter;
            _tagManager        = tagManager;
            _featureFacade     = featureFacade;
            _breadCrumbManager = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 4
0
        public HomeController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <Tag> tagViewProvider,
            IBreadCrumbManager breadCrumbManager,
            IPageTitleBuilder pageTitleBuilder,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            ITagStore <TagBase> tagStore,
            IAlerter alerter)
        {
            _breadCrumbManager = breadCrumbManager;
            _pageTitleBuilder  = pageTitleBuilder;
            _tagViewProvider   = tagViewProvider;
            _contextFacade     = contextFacade;
            _featureFacade     = featureFacade;
            _tagStore          = tagStore;
            _alerter           = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 5
0
        public AdminController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IContextFacade contextFacade,
            ILabelStore <Label> labelStore,
            ILabelManager <Label> labelManager,
            IViewProviderManager <LabelAdmin> viewProvider,
            IBreadCrumbManager breadCrumbManager,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _contextFacade     = contextFacade;
            _labelStore        = labelStore;
            _viewProvider      = viewProvider;
            _alerter           = alerter;
            _labelManager      = labelManager;
            _featureFacade     = featureFacade;
            _breadCrumbManager = breadCrumbManager;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 6
0
        public ReplyViewProvider(
            IHttpContextAccessor httpContextAccessor,
            IStringLocalizer <Discuss.ViewProviders.TopicViewProvider> stringLocalize,

            IEntityReplyStore <Reply> replyStore,
            IEntityTagStore <EntityTag> entityTagStore,
            ITagStore <TagBase> tagStore,
            IEntityTagManager <EntityTag> entityTagManager,
            ITagManager <TagBase> tagManager,
            IFeatureFacade featureFacade,
            IContextFacade contextFacade)
        {
            _replyStore       = replyStore;
            _entityTagStore   = entityTagStore;
            _tagStore         = tagStore;
            _entityTagManager = entityTagManager;
            _tagManager       = tagManager;
            _featureFacade    = featureFacade;
            _contextFacade    = contextFacade;
            _request          = httpContextAccessor.HttpContext.Request;

            T = stringLocalize;
        }
Esempio n. 7
0
        public HomeController(
            IStringLocalizer stringLocalizer,
            IHtmlLocalizer <HomeController> localizer,
            IViewProviderManager <Category> categoryViewProvider,
            ICategoryStore <Category> channelStore,
            IBreadCrumbManager breadCrumbManager,
            IPageTitleBuilder pageTitleBuilder,
            ISiteSettingsStore settingsStore,
            IContextFacade contextFacade1,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _categoryViewProvider = categoryViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _pageTitleBuilder     = pageTitleBuilder;
            _contextFacade        = contextFacade1;
            _featureFacade        = featureFacade;
            _channelStore         = channelStore;
            _alerter = alerter;

            T = localizer;
            S = stringLocalizer;
        }
Esempio n. 8
0
        public IdeaCommentViewProvider(
            IEntityTagManager <EntityTag> entityTagManager,
            IEntityTagStore <EntityTag> entityTagStore,
            IEntityReplyStore <IdeaComment> replyStore,
            IHttpContextAccessor httpContextAccessor,
            ITagManager <TagBase> tagManager,
            IStringLocalizer stringLocalize,
            IFeatureFacade featureFacade,
            IContextFacade contextFacade,
            ITagStore <TagBase> tagStore)
        {
            _entityTagManager = entityTagManager;
            _entityTagStore   = entityTagStore;
            _featureFacade    = featureFacade;
            _contextFacade    = contextFacade;
            _tagManager       = tagManager;
            _tagStore         = tagStore;
            _replyStore       = replyStore;

            _request = httpContextAccessor.HttpContext.Request;

            T = stringLocalize;
        }
Esempio n. 9
0
 public ShellFeatureUpdater(
     IShellFeatureStore <ShellFeature> shellFeatureStore,
     IShellDescriptorManager shellDescriptorManager,
     IShellDescriptorStore shellDescriptorStore,
     IShellContextFactory shellContextFactory,
     IDataMigrationBuilder migrationBuilder,
     IOptions <PlatoOptions> platoOptions,
     ILogger <ShellFeatureUpdater> logger,
     IFeatureFacade featureFacade,
     IShellSettings shellSettings,
     IPlatoHost platoHost)
 {
     _shellDescriptorManager = shellDescriptorManager;
     _shellDescriptorStore   = shellDescriptorStore;
     _shellContextFactory    = shellContextFactory;
     _shellFeatureStore      = shellFeatureStore;
     _migrationBuilder       = migrationBuilder;
     _shellSettings          = shellSettings;
     _featureFacade          = featureFacade;
     _platoOptions           = platoOptions;
     _platoHost = platoHost;
     _logger    = logger;
 }
Esempio n. 10
0
        public AdminController(
            IHtmlLocalizer <AdminController> htmlLocalizer,
            IStringLocalizer <AdminController> stringLocalizer,
            IViewProviderManager <AttachmentSetting> settingsViewProvider,
            IViewProviderManager <AttachmentIndex> indexViewProvider,
            IAuthorizationService authorizationService,
            IBreadCrumbManager breadCrumbManager,
            IPlatoRoleStore platoRoleStore,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _authorizationService = authorizationService;
            _settingsViewProvider = settingsViewProvider;
            _indexViewProvider    = indexViewProvider;
            _breadCrumbManager    = breadCrumbManager;
            _platoRoleStore       = platoRoleStore;
            _featureFacade        = featureFacade;
            _contextFacade        = contextFacade;
            _alerter = alerter;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 11
0
        public HomeController(
            IViewProviderManager <Category> viewProvider,
            IStringLocalizer <AdminController> stringLocalizer,
            ICategoryService <Category> categoryService,
            IHtmlLocalizer <HomeController> localizer,
            ICategoryStore <Category> categoryStore,
            IBreadCrumbManager breadCrumbManager,
            IPageTitleBuilder pageTitleBuilder,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade,
            IAlerter alerter)
        {
            _breadCrumbManager = breadCrumbManager;
            _pageTitleBuilder  = pageTitleBuilder;
            _categoryService   = categoryService;
            _contextFacade     = contextFacade;
            _featureFacade     = featureFacade;
            _categoryStore     = categoryStore;
            _viewProvider      = viewProvider;
            _alerter           = alerter;

            T = localizer;
            S = stringLocalizer;
        }
Esempio n. 12
0
 public SearchMenu(IStringLocalizer <AdminMenu> localizer,
                   IFeatureFacade featureFacade)
 {
     T = localizer;
     _featureFacade = featureFacade;
 }
Esempio n. 13
0
 public FeatureController(IFeatureFacade featureFacade)
 {
     _featureFacade = featureFacade;
 }
 public FeaturesController(IFeatureFacade featureFacade, IRequestFacade requestFacade)
 {
     _FeatureFacade = featureFacade;
     _RequestFacade = requestFacade;
 }