internal static FriendList FromJson(VkResponse response) { var list = new FriendList(); list.Id = response["lid"]; list.Name = response["name"]; return list; }
/// <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; }