public FileSystemCache(IFileSystem fileSystem, CacheOptions options)
        {
            if (fileSystem == null)
            {
                throw new ArgumentNullException("fileSystem");
            }

            FileSystem = fileSystem;
            _options   = options;

            Initialize();
        }
Beispiel #2
0
 static CacheOptions()
 {
     DefaultOptions = new CacheOptions {
         ExpirationType = CacheExpirationType.LeastRecentlyUsed, LoadFactor = 80, MaxSize = 25
     };
 }
Beispiel #3
0
 static CacheOptions()
 {
     DefaultOptions = new CacheOptions { ExpirationType = CacheExpirationType.LeastRecentlyUsed, LoadFactor = 80, MaxSize = 25 };
 }