コード例 #1
0
ファイル: TopicController.cs プロジェクト: yuyu2you/Caf.CMS
 public TopicController(ITopicService topicService,
                        ILocalizationService localizationService,
                        IModelTemplateService modelTemplateService,
                        IWorkContext workContext,
                        ISiteContext siteContext,
                        ICacheManager cacheManager)
 {
     this._modelTemplateService = modelTemplateService;
     this._topicService         = topicService;
     this._workContext          = workContext;
     this._siteContext          = siteContext;
     this._localizationService  = localizationService;
     this._cacheManager         = cacheManager;
 }
コード例 #2
0
 public ModelTemplateController(ILanguageService languageService,
                                IModelTemplateService modelTemplateService, IUrlRecordService urlRecordService,
                                ILocalizedEntityService localizedEntityService, ILocalizationService localizationService,
                                IPermissionService permissionService, ISiteService storeService,
                                ISiteMappingService storeMappingService, IEventPublisher eventPublisher)
 {
     this._modelTemplateService   = modelTemplateService;
     this._languageService        = languageService;
     this._localizedEntityService = localizedEntityService;
     this._urlRecordService       = urlRecordService;
     this._localizationService    = localizationService;
     this._permissionService      = permissionService;
     this._storeService           = storeService;
     this._storeMappingService    = storeMappingService;
     this._eventPublisher         = eventPublisher;
 }
コード例 #3
0
 public ArticleCategoryController(
     IModelTemplateService modelTemplateService,
     ILocalizationService localizationService,
     ILocalizedEntityService localizedEntityService,
     IUserService userService,
     UserSettings userSettings,
     IArticleCategoryService categoryService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     IPictureService pictureService,
     IAclService aclService,
     IUserActivityService userActivityService,
     ISiteService siteService, ISiteMappingService siteMappingService,
     IDateTimeHelper dateTimeHelper,
     IEventPublisher eventPublisher,
     ArticleCatalogSettings catalogSettings,
     IPermissionService permissionService,
     IChannelService channelService,
     IWorkContext workContext,
     ISiteContext siteContext,
     SiteInformationSettings siteSettings)
 {
     this._modelTemplateService   = modelTemplateService;
     this._categoryService        = categoryService;
     this._localizedEntityService = localizedEntityService;
     this._urlRecordService       = urlRecordService;
     this._localizationService    = localizationService;
     this._userService            = userService;
     this._userSettings           = userSettings;
     this._userActivityService    = userActivityService;
     this._aclService             = aclService;
     this._languageService        = languageService;
     this._pictureService         = pictureService;
     this._siteService            = siteService;
     this._siteMappingService     = siteMappingService;
     this._dateTimeHelper         = dateTimeHelper;
     this._eventPublisher         = eventPublisher;
     this._workContext            = workContext;
     this._catalogSettings        = catalogSettings;
     this._permissionService      = permissionService;
     this._channelService         = channelService;
     this._siteContext            = siteContext;
     this._siteSettings           = siteSettings;
 }
コード例 #4
0
 public ChannelController(
     IModelTemplateService modelTemplateService,
     IAuthenticationService authenticationService,
     IWorkContext workContext,
     ILocalizationService localizationService,
     UserSettings userSettings,
     IChannelService channelService,
     IUserActivityService userActivityService,
     IExtendedAttributeService extendedAttributeService,
     IPermissionService permissionService
     )
 {
     this._modelTemplateService     = modelTemplateService;
     this._authenticationService    = authenticationService;
     this._workContext              = workContext;
     this._localizationService      = localizationService;
     this._userSettings             = userSettings;
     this._channelService           = channelService;
     this._userActivityService      = userActivityService;
     this._extendedAttributeService = extendedAttributeService;
     this._permissionService        = permissionService;
 }
コード例 #5
0
        public ArticleCatalogController(
            ICommonServices services,
            IClientService clientService,
            IArticleCategoryService articlecategoryService,
            IModelTemplateService modelTemplateService,
            IArticleService articleService, IArticleTagService articlesTagService,
            IPictureService pictureService,
            IGenericAttributeService genericAttributeService,
            IAclService aclService,
            ISiteMappingService siteMappingService,
            MediaSettings mediaSettings,
            ArticleCatalogSettings catalogSettings,
            IRecentlyViewedArticlesService recentlyViewedArticlesService,
            //IFilterService filterService,
            ArticleCatalogHelper helper,
            Lazy <ISearchProvider> searchProvider
            )
        {
            this._services                      = services;
            this._clientService                 = clientService;
            this._articlecategoryService        = articlecategoryService;
            this._articleService                = articleService;
            this._articlesTagService            = articlesTagService;
            this._modelTemplateService          = modelTemplateService;
            this._pictureService                = pictureService;
            this._genericAttributeService       = genericAttributeService;
            this._aclService                    = aclService;
            this._siteMappingService            = siteMappingService;
            this._recentlyViewedArticlesService = recentlyViewedArticlesService;
            //this._filterService = filterService;
            this._mediaSettings   = mediaSettings;
            this._catalogSettings = catalogSettings;

            this._helper         = helper;
            this._searchProvider = searchProvider;
            T = NullLocalizer.Instance;
        }