Esempio n. 1
0
        public HomeController(
            IHtmlLocalizer htmlLocalizer,
            IStringLocalizer stringLocalizer,
            IViewProviderManager <Label> labelViewProvider,
            IBreadCrumbManager breadCrumbManager,
            IPageTitleBuilder pageTitleBuilder,
            ILabelStore <Label> labelStore,
            IContextFacade contextFacade,
            IFeatureFacade featureFacade)
        {
            _labelViewProvider = labelViewProvider;
            _breadCrumbManager = breadCrumbManager;
            _pageTitleBuilder  = pageTitleBuilder;
            _contextFacade     = contextFacade;
            _featureFacade     = featureFacade;
            _labelStore        = labelStore;

            T = htmlLocalizer;
            S = stringLocalizer;
        }
Esempio n. 2
0
        public QuestionViewProvider(
            IEntityLabelManager <EntityLabel> entityLabelManager,
            IEntityLabelStore <EntityLabel> entityLabelStore,
            IHttpContextAccessor httpContextAccessor,
            IEntityStore <Question> 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,
            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. 4
0
 public LabelDropDownViewComponent(ILabelStore <LabelBase> labelStore)
 {
     _labelStore = labelStore;
 }
Esempio n. 5
0
 public LabelService(
     ILabelStore <TModel> labelStore)
 {
     _labelStore = labelStore;
 }
Esempio n. 6
0
 public LabelViewProvider(ILabelStore <Label> labelStore)
 {
     _labelStore = labelStore;
 }
 public TopicLabelsViewComponent(
     ILabelStore <Label> labelStore)
 {
     _labelStore = labelStore;
 }