예제 #1
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager
            , IManufacturerService manufacturerService)
            : base(cacheManager)
        {
            _postService              = postService;
            _menuLinkService          = menuLinkService;
            _attributeValueService    = attributeValueService;
            _galleryService           = galleryService;
            _imagePlugin              = imagePlugin;
            _attributeService         = attributeService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _postGalleryService       = postGalleryService;
            _cacheManager             = cacheManager;
            _manufacturerService      = manufacturerService;

            //Clear cache
            _cacheManager.RemoveByPattern(CachePostKey);
        }
예제 #2
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImagePlugin imagePlugin
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager)
            : base(cacheManager)
        {
            this._postService              = postService;
            this._menuLinkService          = menuLinkService;
            this._attributeValueService    = attributeValueService;
            this._galleryService           = galleryService;
            this._imagePlugin              = imagePlugin;
            this._attributeService         = attributeService;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            this._postGalleryService       = postGalleryService;
            _genericControlService         = genericControlService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.Clear();
        }
예제 #3
0
        public PostController(
            IPostService postService
            , IMenuLinkService menuLinkService
            , IAttributeValueService attributeValueService
            , IGalleryService galleryService
            , IImageService imageService
            , IAttributeService attributeService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , IPostGalleryService postGalleryService
            , IGenericControlService genericControlService
            , ICacheManager cacheManager
            , IManufacturerService manufacturerService
            , IOrderItemService orderItemService
            , ISettingService settingService)
            : base(cacheManager)
        {
            _postService              = postService;
            _menuLinkService          = menuLinkService;
            _attributeValueService    = attributeValueService;
            _galleryService           = galleryService;
            _imageService             = imageService;
            _attributeService         = attributeService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;
            _postGalleryService       = postGalleryService;
            _manufacturerService      = manufacturerService;
            _orderItemService         = orderItemService;
            _settingService           = settingService;

            //Clear cache
            cacheManager.RemoveByPattern(CachePostKey);
        }