VkNet.Model.Country.FromJson C# (CSharp) Method

FromJson() public static method

Разобрать из json.
public static FromJson ( VkResponse response ) : Country
response VkNet.Utils.VkResponse Ответ сервера.
return Country
        public static Country FromJson(VkResponse response)
        {
            var country = new Country
            {
                Id = response["comment_id"] ?? response["cid"] ?? response["id"],
                Title = response["title"] ?? response["name"]
            };

            return country;
        }
Country