Exemplo n.º 1
0
 /// <summary>
 /// First method of service two.
 /// </summary>
 public Task <TwoSvc.MethodTwoResponse> MethodTwoAsync(TwoSvc.MethodTwoRequest request, CancellationToken cancellationToken)
 {
     return(InvokeAsync <TwoSvc.MethodTwoRequest, TwoSvc.MethodTwoResponse>("MethodTwo", request, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// First method of service two.
 /// </summary>
 public TwoSvc.MethodTwoResponse MethodTwo(TwoSvc.MethodTwoRequest request)
 {
     return(Invoke <TwoSvc.MethodTwoRequest, TwoSvc.MethodTwoResponse>("MethodTwo", request));
 }
Exemplo n.º 3
0
 /// <summary>
 /// First method of service two.
 /// </summary>
 public Task <TwoSvc.MethodTwoResponse> MethodTwoAsync(TwoSvc.MethodTwoRequest request)
 {
     return(MethodTwoAsync(request, CancellationToken.None));
 }