コード例 #1
0
 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"));
 }
コード例 #2
0
 public IndexedBlobFileSystemCache(IndexedBlobLocalCacheSettings cacheSettings)
 {
     _cacheSettings = cacheSettings;
 }