public FavoriteInfo GetFavoriteInfo (int imageId) { FavoriteInfo info; if (!_items.TryGetValue (imageId, out info)) { info = new FavoriteInfo (false, null); } return info; }
public SlideInfo (ImageInfo imageInfo, FavoriteInfo favoriteInfo) { ImageInfo = imageInfo; FavoriteInfo = favoriteInfo; }