예제 #1
0
		public FavoriteInfo GetFavoriteInfo (int imageId)
		{
			FavoriteInfo info;

			if (!_items.TryGetValue (imageId, out info)) {
				info = new FavoriteInfo (false, null);
			}
			return info;
		}
예제 #2
0
		public SlideInfo (ImageInfo imageInfo, FavoriteInfo favoriteInfo)
		{
			ImageInfo = imageInfo;
			FavoriteInfo = favoriteInfo;
		}