Esempio n. 1
0
        public OutputCacheFilter(
            ICacheManager cacheManager,
            IOutputCacheStorageProvider cacheStorageProvider,
            ITagCache tagCache,
            IDisplayedContentItemHandler displayedContentItemHandler,
            IWorkContextAccessor workContextAccessor,
            IThemeManager themeManager,
            IClock clock,
            ICacheService cacheService,
            ISignals signals,
            ShellSettings shellSettings,
            ICacheControlStrategy cacheControlStrategy
            ) {
            _cacheManager = cacheManager;
            _cacheStorageProvider = cacheStorageProvider;
            _tagCache = tagCache;
            _displayedContentItemHandler = displayedContentItemHandler;
            _workContextAccessor = workContextAccessor;
            _themeManager = themeManager;
            _clock = clock;
            _cacheService = cacheService;
            _signals = signals;
            _shellSettings = shellSettings;
            _cacheControlStrategy = cacheControlStrategy;

            Logger = NullLogger.Instance;
        }
        public OutputCacheFilter(
            ICacheManager cacheManager,
            IOutputCacheStorageProvider cacheStorageProvider,
            ITagCache tagCache,
            IDisplayedContentItemHandler displayedContentItemHandler,
            IWorkContextAccessor workContextAccessor,
            IThemeManager themeManager,
            IClock clock,
            ICacheService cacheService,
            ISignals signals,
            ShellSettings shellSettings,
            ICacheControlStrategy cacheControlStrategy,
            INotificationManager notificationManager
            )
        {
            _cacheManager                = cacheManager;
            _cacheStorageProvider        = cacheStorageProvider;
            _tagCache                    = tagCache;
            _displayedContentItemHandler = displayedContentItemHandler;
            _workContextAccessor         = workContextAccessor;
            _themeManager                = themeManager;
            _clock                = clock;
            _cacheService         = cacheService;
            _signals              = signals;
            _shellSettings        = shellSettings;
            _cacheControlStrategy = cacheControlStrategy;
            _notificationManager  = notificationManager;

            Logger = NullLogger.Instance;
        }