diff options
author | 2015-04-02 15:22:31 -0700 | |
---|---|---|
committer | 2015-04-02 15:22:31 -0700 | |
commit | 8c61db91648ae4852ac7db7522eb0168e01e01a0 (patch) | |
tree | 165f54c3f1ab1c18c469d2e5aaddf47694cd99c2 /src/csharp/Grpc.Examples.MathClient | |
parent | c7439042b147e0a47023c1b709900daee70860cf (diff) |
cleanup of C# API examples
Diffstat (limited to 'src/csharp/Grpc.Examples.MathClient')
-rw-r--r-- | src/csharp/Grpc.Examples.MathClient/MathClient.cs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/csharp/Grpc.Examples.MathClient/MathClient.cs b/src/csharp/Grpc.Examples.MathClient/MathClient.cs index f5956bd33e..ca7683d399 100644 --- a/src/csharp/Grpc.Examples.MathClient/MathClient.cs +++ b/src/csharp/Grpc.Examples.MathClient/MathClient.cs @@ -46,11 +46,15 @@ namespace math MathGrpc.IMathServiceClient stub = new MathGrpc.MathServiceClientStub(channel); MathExamples.DivExample(stub); - MathExamples.FibExample(stub); + MathExamples.DivAsyncExample(stub).Wait(); - MathExamples.SumExample(stub); + MathExamples.FibExample(stub).Wait(); - MathExamples.DivManyExample(stub); + MathExamples.SumExample(stub).Wait(); + + MathExamples.DivManyExample(stub).Wait(); + + MathExamples.DependendRequestsExample(stub).Wait(); } GrpcEnvironment.Shutdown(); |