public DynamicCacheShapeDisplayEvents(
     IDynamicCacheService dynamicCacheService,
     ICacheScopeManager cacheScopeManager,
     HtmlEncoder htmlEncoder)
 {
     _dynamicCacheService = dynamicCacheService;
     _cacheScopeManager   = cacheScopeManager;
     _htmlEncoder         = htmlEncoder;
 }
 public DynamicCacheShapeDisplayEvents(
     IDynamicCacheService dynamicCacheService,
     ICacheScopeManager cacheScopeManager,
     HtmlEncoder htmlEncoder,
     IOptions <CacheOptions> options)
 {
     _dynamicCacheService = dynamicCacheService;
     _cacheScopeManager   = cacheScopeManager;
     _htmlEncoder         = htmlEncoder;
     _cacheOptions        = options.Value;
 }
Exemplo n.º 3
0
        public DynamicCacheTagHelper(
            IDynamicCacheService dynamicCacheService,
            ICacheScopeManager cacheScopeManager,
            HtmlEncoder htmlEncoder,
            DynamicCacheTagHelperService dynamicCacheTagHelperService)

        {
            _dynamicCacheService          = dynamicCacheService;
            _cacheScopeManager            = cacheScopeManager;
            HtmlEncoder                   = htmlEncoder;
            _dynamicCacheTagHelperService = dynamicCacheTagHelperService;
        }
 public DateTimeCachingService(
     IMemoryCache memoryCache,
     ILocalClock localClock,
     IDynamicCacheService dynamicCacheService,
     ITagCache tagCache,
     ISignal signal)
 {
     _memoryCache         = memoryCache;
     _localClock          = localClock;
     _dynamicCacheService = dynamicCacheService;
     _tagCache            = tagCache;
     _signal = signal;
 }
 public DynamicCacheTagHelper(
     IDynamicCacheService dynamicCacheService,
     ICacheScopeManager cacheScopeManager,
     HtmlEncoder htmlEncoder,
     DynamicCacheTagHelperService dynamicCacheTagHelperService,
     IOptions <CacheOptions> cacheOptions)
 {
     _dynamicCacheService          = dynamicCacheService;
     _cacheScopeManager            = cacheScopeManager;
     HtmlEncoder                   = htmlEncoder;
     _dynamicCacheTagHelperService = dynamicCacheTagHelperService;
     _cacheOptions                 = cacheOptions.Value;
 }
        public DynamicCacheTagHelper(
            IClock clock,
            IDynamicCacheService dynamicCacheService,
            ICacheScopeManager cacheScopeManager,
            ILogger <DynamicCacheTagHelper> logger,
            HtmlEncoder htmlEncoder,
            DynamicCacheTagHelperService dynamicCacheTagHelperService)

        {
            _clock = clock;
            _dynamicCacheService = dynamicCacheService;
            _cacheScopeManager   = cacheScopeManager;
            _logger     = logger;
            HtmlEncoder = htmlEncoder;
            _dynamicCacheTagHelperService = dynamicCacheTagHelperService;
        }