Add region tags to surface code in GRPC topic (#12705)
* Add region tags to surface code in GRPC topic * Narrow the code blockpull/12707/head
parent
bdda3789ba
commit
c45b79f7b3
|
@ -7,9 +7,11 @@ using Grpc.Core;
|
|||
|
||||
namespace GrpcGreeter
|
||||
{
|
||||
#region snippet
|
||||
public class GreeterService : Greeter.GreeterBase
|
||||
{
|
||||
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
|
||||
public override Task<HelloReply> SayHello(
|
||||
HelloRequest request, ServerCallContext context)
|
||||
{
|
||||
return Task.FromResult(new HelloReply
|
||||
{
|
||||
|
@ -17,4 +19,5 @@ namespace GrpcGreeter
|
|||
});
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue