Пример #1
0
        public IfModifiedMiddleware(RequestDelegate next, ICacheableSpecification cacheableSpecification)
        {
            _next = next;
            _cacheableSpecification = cacheableSpecification;

            _mimeTypeProvider = new FileExtensionContentTypeProvider();
        }
Пример #2
0
 public IfModifiedPipeline(ICacheableSpecification cacheableSpecification)
 {
     _cacheableSpecification = cacheableSpecification;
 }
Пример #3
0
 public CacheHeaderPipeline(ICacheableSpecification cacheableSpecification)
 {
     _cacheableSpecification = cacheableSpecification;
 }
Пример #4
0
 public CacheHeaderMiddleware(RequestDelegate next, ICacheableSpecification cacheableSpecification)
 {
     _next = next;
     _cacheableSpecification = cacheableSpecification;
 }
Пример #5
0
 public CacheHeaderPipeline(ICacheableSpecification cacheableSpecification)
 {
     _cacheableSpecification = cacheableSpecification;
 }
Пример #6
0
 public IfModifiedPipeline(ICacheableSpecification cacheableSpecification)
 {
     _cacheableSpecification = cacheableSpecification;
 }