예제 #1
0
파일: Point.cs 프로젝트: Fedorus/ParcsSharp
 public async Task <bool> SendAsync <T>(T t)
 {
     return((await _PointServiceClient.SendAsync(new SendDataParams()
     {
         From = _pointThatUsingThisPoint,
         To = Channel,
         Data = JsonConvert.SerializeObject(t),
         Type = t.GetType().ToString()
     })
             .ConfigureAwait(false)).Result);
 }