Ejemplo n.º 1
0
 public CacheURLAdminController(
     IRepository <CacheUrlRecord> cacheUrlRepository,
     IRepository <CacheUrlSetting> cacheUrlSetting,
     IOrchardServices orchardServices,
     ICacheAliasServices cacheAliasServices,
     INotifier notifier
     )
 {
     _notifier           = notifier;
     _orchardServices    = orchardServices;
     _cacheUrlRepository = cacheUrlRepository;
     _cacheUrlSetting    = cacheUrlSetting;
     _cacheAliasServices = cacheAliasServices;
     T = NullLocalizer.Instance;
 }
        private readonly ITagForCache _tagForCache;               //Added


        public OutputCacheExtensionFilter(
            ICacheAliasServices cacheAliasServices, //Added
            ITokenizer tokenizer,                   //Added
            ITagForCache tagForCache,               //Added
            ICacheManager cacheManager, IOutputCacheStorageProvider cacheStorageProvider, ITagCache tagCache, IDisplayedContentItemHandler displayedContentItemHandler, IWorkContextAccessor workContextAccessor, IThemeManager themeManager, IClock clock, ICacheService cacheService, ISignals signals, ShellSettings shellSettings, ICachingEventHandler cachingEvents) : base(cacheManager, cacheStorageProvider, tagCache, displayedContentItemHandler, workContextAccessor, themeManager, clock, cacheService, signals, shellSettings, cachingEvents)
        {
            _cacheAliasServices          = cacheAliasServices; //Added
            _tokenizer                   = tokenizer;          //Added
            _tagForCache                 = tagForCache;        //Added
            _cacheManager                = cacheManager;
            _cacheStorageProvider        = cacheStorageProvider;
            _tagCache                    = tagCache;
            _displayedContentItemHandler = displayedContentItemHandler;
            _workContextAccessor         = workContextAccessor;
            _themeManager                = themeManager;
            _clock         = clock;
            _cacheService  = cacheService;
            _signals       = signals;
            _shellSettings = shellSettings;
            _cachingEvents = cachingEvents;

            Logger = NullLogger.Instance;
        }