Информация об аудиоальбоме.
Страница документации ВКонтакте .
Exemplo n.º 1
0
        internal static AudioAlbum FromJson(VkResponse response)
        {
            var album = new AudioAlbum();

            album.OwnerId = response["owner_id"];
            album.AlbumId = response["album_id"];
            album.Title   = response["title"];

            return(album);
        }
Exemplo n.º 2
0
        internal static AudioAlbum FromJson(VkResponse response)
        {
            var album = new AudioAlbum();

            album.OwnerId = response["owner_id"];
            album.AlbumId = response["album_id"];
            album.Title = response["title"];

            return album;
        }
Exemplo n.º 3
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        internal static AudioAlbum FromJson(VkResponse response)
        {
            var album = new AudioAlbum
            {
                OwnerId = response["owner_id"],
                AlbumId = response["album_id"] ?? response["id"],
                Title   = response["title"]
            };

            return(album);
        }
Exemplo n.º 4
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response"> Ответ сервера. </param>
        /// <returns> </returns>
        public static AudioAlbum FromJson(VkResponse response)
        {
            var album = new AudioAlbum
            {
                OwnerId   = response[key : "owner_id"]
                , AlbumId = response[key : "album_id"] ?? response[key : "id"]
                , Title   = response[key : "title"]
            };

            return(album);
        }
Exemplo n.º 5
0
		/// <summary>
		/// Разобрать из json.
		/// </summary>
		/// <param name="response">Ответ сервера.</param>
		/// <returns></returns>
		internal static AudioAlbum FromJson(VkResponse response)
		{
			var album = new AudioAlbum
			{
				OwnerId = response["owner_id"],
				AlbumId = response["album_id"] ?? response["id"],
				Title = response["title"]
			};

			return album;
		}