public SelfDisposingBitmapDrawable Get(string key) { SelfDisposingBitmapDrawable drawable = null; if (_cache.TryGetValue(key, out drawable)) { return(drawable); } return(null); }
public Tuple <ISelfDisposingBitmapDrawable, ImageInformation> Get(string key) { ISelfDisposingBitmapDrawable drawable = null; if (_cache.TryGetValue(key, out drawable)) { var imageInformation = GetInfo(key); return(new Tuple <ISelfDisposingBitmapDrawable, ImageInformation>(drawable, imageInformation)); } return(null); }