public void ConstructorTest() { string path = Path.Combine(Environment.CurrentDirectory, "cache"); Console.WriteLine("Path {0}", path); FileCacheManager ft = new FileCacheManager(path, 200 * 1024 * 1024); Assert.IsNotNull(ft); }
/// <summary> /// Initializes a new instance of the UnityCacheServer class. /// </summary> public UnityCacheServer() { this.fileManager = new FileCacheManager( Path.GetFullPath(Settings.Default.CacheRootPath), Settings.Default.MaxCacheSizeMB); }