public ImageLoader SetMemoryCache(AbstractMemoryCache impl) { memoryCache = impl; return(this); }
private static AbstractMemoryCache <ulong, byte> CreateCache() => AbstractMemoryCache <ulong, byte> .Create( name : "ResidentCache", maxSize : Config.ResidentCache.MaxSize, compressed : true );