1234567891011121314151617181920212223242526272829 |
- /* ==============================================================================
- * 功能描述:HttpResult
- * 创 建 者:Garrett
- * 创建日期:2019/9/18 10:21:11
- * ==============================================================================*/
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Newtonsoft.Json;
- namespace MBIRevitBase.Result
- {
- /// <summary>
- /// HttpResult
- /// </summary>
- public class HttpResult
- {
- public string Message { get; set; }
- public string Result { get; set; }
- public static implicit operator HttpResult(string result)
- {
- return JsonConvert.DeserializeObject<HttpResult>(result);
- }
- }
- }
|