Example #1
0
 public PingResponse MyLongMethod(PingRequest request)
 {
     return(new PingResponse("Pong"));
 }
Example #2
0
 public Task <PingResponse> MyMethodAsync(PingRequest request, CancellationToken cancelationToken)
 {
     return(Task.FromResult(new PingResponse("Pong")));
 }
Example #3
0
 public PingResponse MyCustomBarMethod(PingRequest request)
 {
     return(new PingResponse("Pong"));
 }
Example #4
0
 public Task <PingResponse> MyMethodAsync(PingRequest request)
 {
     return(Task.FromResult(new PingResponse("Pong")));
 }
Example #5
0
 public Task <PingResponse> MyCustomFooBarAsync(PingRequest request)
 {
     return(Task.FromResult(new PingResponse("Pong")));
 }