示例#1
0
文件: GetLog.cs 项目: jovijovi/kort
 public Response<GetLogResult> GetLog(GetLogRequest requestObject)
 {
     JObject request = JObject.FromObject(requestObject);
     var result = Method(Functions.GetLog, request, ParameterValidator.GetLogCheckRequest);
     try
     {
         var response = JsonConvert.DeserializeObject<Response<GetLogResult>>(result.ToString());
         return response;
     }
     catch (Exception e)
     {
         return Response<GetLogResult>.BuildResponse(e);
     }
 }
示例#2
0
文件: GetLog.cs 项目: jovijovi/kort
 public IAsyncResult BeginGetLog(GetLogRequest requestObject)
 {
     JObject request = JObject.FromObject(requestObject);
     return BeginMethod(Functions.GetLog, request, ParameterValidator.GetLogCheckRequest, GetLogCallBackMethod);
 }