public PageModel(ImageCache imageCache) { ImageCache = imageCache; }
private void SelectSystemImageCache(object sender, RoutedEventArgs e) { ImageCache = new SystemImageCache(ImageCacheName); Reload(false); }
private void SelectPersistentImageCache(object sender, RoutedEventArgs e) { ImageCache = new PersistentImageCache(ImageCacheName); Reload(false); }
public ItemModel(ImageCache imageCache, string imageUriString) { ImageCache = imageCache; ImageUri = new Uri(imageUriString, UriKind.Absolute); }