public OutputCachingBehavior(IActionBehavior inner, IOutputCache cache, IOutputWriter writer, ICurrentChain currentChain, IEtagCache etagCache) { _inner = inner; _cache = cache; _writer = writer; _currentChain = currentChain; _etagCache = etagCache; Invoker = x => x.Invoke(); PartialInvoker = x => x.InvokePartial(); }
public AssetEtagInvocationFilter(IEtagCache cache) { _cache = cache; }
//private readonly IETagGenerator<T> _generator; //, IETagGenerator<T> generator public ETagHandler(IEtagCache cache) { _cache = cache; //_generator = generator; }