Метка в списке друзей
Exemplo n.º 1
0
        internal static FriendList FromJson(VkResponse response)
        {
            var list = new FriendList();

            list.Id = response["lid"];
            list.Name = response["name"];

            return list;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        internal static FriendList FromJson(VkResponse response)
        {
            var list = new FriendList
            {
                Id = response["list_id"] ?? response["lid"],
                Name = response["name"]
            };

            return list;
        }