Example #1
0
 public DefaultOutputCachedPartsService(IRepository <CacheKeyRecord> cacheKeyRepository, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, IContentManager contentManager)
 {
     _cacheKeyRepository       = cacheKeyRepository;
     _cacheService             = cacheService;
     _outputCachedPartsContext = outputCachedPartsContext;
     _contentManager           = contentManager;
 }
 public DefaultOutputCachedPartsService(IRepository<CacheKeyRecord> cacheKeyRepository, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, IContentManager contentManager) 
 {
     _cacheKeyRepository = cacheKeyRepository;
     _cacheService = cacheService;
     _outputCachedPartsContext = outputCachedPartsContext;
     _contentManager = contentManager;
 }
Example #3
0
 public OutputCachedContentShapeResult(string shapeType, Func <DriverResult> driverResultFactory, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, ICacheKeyService cacheKeyService, ContentPart part, string cacheKey)
 {
     _cachedPartMetadata       = new CachedPartMetadata(cacheKeyService.BuildFullCacheKey(part, cacheKey));
     _shapeType                = shapeType;
     _driverResultFactory      = driverResultFactory;
     _cacheService             = cacheService;
     _outputCachedPartsContext = outputCachedPartsContext;
 }
 public OutputCachedContentShapeResult(string shapeType, Func<DriverResult> driverResultFactory, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, ICacheKeyService cacheKeyService, ContentPart part, string cacheKey)
 {
     _cachedPartMetadata = new CachedPartMetadata(cacheKeyService.BuildFullCacheKey(part, cacheKey));
     _shapeType = shapeType;
     _driverResultFactory = driverResultFactory;
     _cacheService = cacheService;
     _outputCachedPartsContext = outputCachedPartsContext;
 }
Example #5
0
 public OutputCachedContentShapeResult(string shapeType, Func <DriverResult> driverResultFactory, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, ICacheKeyService cacheKeyService, ContentPart part)
     : this(shapeType, driverResultFactory, cacheService, outputCachedPartsContext, cacheKeyService, part, shapeType)
 {
 }
 public OutputCachedContentShapeResult(string shapeType, Func<DriverResult> driverResultFactory, ICacheService cacheService, IOutputCachedPartsContext outputCachedPartsContext, ICacheKeyService cacheKeyService, ContentPart part)
     : this(shapeType, driverResultFactory, cacheService, outputCachedPartsContext, cacheKeyService, part, shapeType)
 {}
 public DefaultOutputCachedDriverResultFactory(IOutputCachedPartsContext outputCachedPartsContext, ICacheService cacheService, ICacheKeyService cacheKeyService) 
 {
     _outputCachedPartsContext = outputCachedPartsContext;
     _cacheService = cacheService;
     _cacheKeyService = cacheKeyService;
 }
 public DefaultOutputCachedDriverResultFactory(IOutputCachedPartsContext outputCachedPartsContext, ICacheService cacheService, ICacheKeyService cacheKeyService)
 {
     _outputCachedPartsContext = outputCachedPartsContext;
     _cacheService             = cacheService;
     _cacheKeyService          = cacheKeyService;
 }