public TemplateService(ITagForCache tagForCache, Notifier notifier, IEnumerable <IParserEngine> parsers, IOrchardServices services, IMessageService messageService, IJobsQueueService jobsQueueService, ShellSettings shellSettings)
 {
     _contentManager   = services.ContentManager;
     _tagForCache      = tagForCache;
     _parsers          = parsers;
     _services         = services;
     _messageService   = messageService;
     _jobsQueueService = jobsQueueService;
     _notifier         = notifier;
     _shellSettings    = shellSettings;
 }
        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;
        }
예제 #3
0
 public TemplateService(
     ITagForCache tagForCache,
     Notifier notifier,
     IEnumerable <IParserEngine> parsers,
     IOrchardServices services,
     IMessageService messageService,
     IJobsQueueService jobsQueueService,
     ShellSettings shellSettings,
     IMediaLibraryService mediaLibraryService,
     ILocalizationService localizationService,
     IWorkContextAccessor workContextAccessor)
 {
     _contentManager      = services.ContentManager;
     _tagForCache         = tagForCache;
     _parsers             = parsers;
     _services            = services;
     _messageService      = messageService;
     _jobsQueueService    = jobsQueueService;
     _notifier            = notifier;
     _shellSettings       = shellSettings;
     _mediaLibraryService = mediaLibraryService;
     _localizationService = localizationService;
     _workContextAccessor = workContextAccessor;
 }