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; }