public CachedItem(string fileKey, long uncompressedLength, IndexedBlobLocalCacheSettings cacheSettings) { _creating = true; Length = uncompressedLength; FileKey = fileKey; LastAccessed = DateTime.UtcNow; IsCreated = false; FilePath = Path.Combine(cacheSettings.CacheDirectory, Guid.NewGuid().ToString("N")); }
public IndexedBlobFileSystemCache(IndexedBlobLocalCacheSettings cacheSettings) { _cacheSettings = cacheSettings; }