public string GetLocalFile(string uri) { string localFile = this._lruCache.Get(uri); if (string.IsNullOrEmpty(localFile)) { return(null); } return(MediaLRUCache.RemoveLengthPrefixFromLocalFilePath(localFile)); }
private async void HandleRemovedItem(LRUCacheItem <string, string> ci) { await CacheManager.TryDeleteAsync(MediaLRUCache.RemoveLengthPrefixFromLocalFilePath(ci.value)); }