public ImageInformation GetInfo(string key) { if (_reusableBitmaps.TryGetValue(key, out Tuple <ImageSource, ImageInformation> cacheEntry)) { return(cacheEntry.Item2); } return(null); }
public ImageInformation GetInfo(string key) { Tuple <WriteableBitmap, ImageInformation> cacheEntry; if (_reusableBitmaps.TryGetValue(key, out cacheEntry)) { return(cacheEntry.Item2); } return(null); }