internal static Likes FromJson(VkResponse response) { var likes = new Likes(); likes.Count = response["count"]; likes.UserLikes = response["user_likes"]; likes.CanLike = response["can_like"]; likes.CanPublish = response["can_publish"]; return(likes); }
internal static Likes FromJson(VkResponse response) { var likes = new Likes(); likes.Count = response["count"]; likes.UserLikes = response["user_likes"]; likes.CanLike = response["can_like"]; likes.CanPublish = response["can_publish"]; return likes; }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> public static Likes FromJson(VkResponse response) { var likes = new Likes { Count = response["count"], UserLikes = response["user_likes"], CanLike = response["can_like"], CanPublish = response["can_publish"] }; return(likes); }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> public static Likes FromJson(VkResponse response) { var likes = new Likes { Count = response["count"], UserLikes = response["user_likes"], CanLike = response["can_like"], CanPublish = response["can_publish"] }; return likes; }