/// <summary> /// Разобрать из json. /// </summary> /// <param name="response"> Ответ сервера. </param> /// <returns> </returns> public static AccountChangePasswordResult FromJson(VkResponse response) { var item = new AccountChangePasswordResult { Token = response[key : "token"] , Secret = response[key : "secret"] }; return(item); }
/// <summary> /// Разобрать из json. /// </summary> /// <param name="response">Ответ сервера.</param> /// <returns></returns> public static AccountChangePasswordResult FromJson(VkResponse response) { var item = new AccountChangePasswordResult { Token = response["token"], Secret = response["secret"] }; return item; }