internal static Geo FromJson(VkResponse response) { // TODO: TEST IT!!!!! var geo = new Geo(); geo.Place = response["place"]; geo.Coordinates = response["coordinates"]; geo.Type = response["type"]; return geo; }
internal static Geo FromJson(VkResponse response) { // TODO: TEST IT!!!!! var geo = new Geo(); geo.Place = response["place"]; geo.Coordinates = response["coordinates"]; geo.Type = response["type"]; return(geo); }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response"> Ответ сервера. </param> /// <returns> </returns> public static Geo FromJson(VkResponse response) { // TODO: TEST IT!!!!! var geo = new Geo { Place = response[key : "place"] , Coordinates = response[key : "coordinates"] , Type = response[key : "type"] }; return(geo); }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> public static Geo FromJson(VkResponse response) { // TODO: TEST IT!!!!! var geo = new Geo { Place = response["place"], Coordinates = response["coordinates"], Type = response["type"] }; return geo; }