diff options
author | 2016-05-11 15:35:46 -0700 | |
---|---|---|
committer | 2016-05-11 15:35:46 -0700 | |
commit | 0bbbb3240e9cb43a09dfd6b18b07764ff0733f5c (patch) | |
tree | d9b37b97b657e5d970868cbc6ab172efa9822069 /examples/csharp/helloworld | |
parent | 1aa52a074a15a2e00bf0ee19f1265aa72cdef446 (diff) |
migrate Greeter and Routeguide to 0.14.0 API
Diffstat (limited to 'examples/csharp/helloworld')
-rw-r--r-- | examples/csharp/helloworld/GreeterServer/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/csharp/helloworld/GreeterServer/Program.cs b/examples/csharp/helloworld/GreeterServer/Program.cs index 79f421df9e..fdab379e81 100644 --- a/examples/csharp/helloworld/GreeterServer/Program.cs +++ b/examples/csharp/helloworld/GreeterServer/Program.cs @@ -34,10 +34,10 @@ using Helloworld; namespace GreeterServer { - class GreeterImpl : Greeter.IGreeter + class GreeterImpl : Greeter.GreeterBase { // Server side handler of the SayHello RPC - public Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context) + public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context) { return Task.FromResult(new HelloReply { Message = "Hello " + request.Name }); } |