aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/csharp/helloworld/GreeterServer/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/csharp/helloworld/GreeterServer/Program.cs')
-rw-r--r--examples/csharp/helloworld/GreeterServer/Program.cs4
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 });
}