public FileSystemCache(IFileSystem fileSystem, CacheOptions options) { if (fileSystem == null) { throw new ArgumentNullException("fileSystem"); } FileSystem = fileSystem; _options = options; Initialize(); }
static CacheOptions() { DefaultOptions = new CacheOptions { ExpirationType = CacheExpirationType.LeastRecentlyUsed, LoadFactor = 80, MaxSize = 25 }; }