ab56a9bcf7
SVN-Revision: r240
26 lines
730 B
C#
26 lines
730 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Lskj.Push.Common.Resp
|
|
{
|
|
public class BooleanResult : DefaultResult
|
|
{
|
|
public bool result;
|
|
new public static BooleanResult fromResponse(ResponseWrapper responseWrapper)
|
|
{
|
|
BooleanResult tagListResult = new BooleanResult();
|
|
if (responseWrapper.isServerResponse())
|
|
{
|
|
tagListResult = JsonConvert.DeserializeObject<BooleanResult>(responseWrapper.responseContent);
|
|
}
|
|
tagListResult.ResponseResult = responseWrapper;
|
|
return tagListResult;
|
|
}
|
|
}
|
|
|
|
}
|