aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-03 10:32:48 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-08 00:40:08 -0700
commit9ee27e10bac6f2406dd49e376206c084febbd169 (patch)
treed67e41ece9cb54567978e71e9abc352234779588
parent8644aeaa71c5186e0dbef97fd0f1e044bf4d3b44 (diff)
service descriptor
-rw-r--r--src/csharp/Grpc.Examples/MathGrpc.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Examples/MathGrpc.cs b/src/csharp/Grpc.Examples/MathGrpc.cs
index c0cab6e469..42372d59a3 100644
--- a/src/csharp/Grpc.Examples/MathGrpc.cs
+++ b/src/csharp/Grpc.Examples/MathGrpc.cs
@@ -45,6 +45,12 @@ namespace Math {
__Marshaller_Num,
__Marshaller_Num);
+ // service descriptor
+ public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor
+ {
+ get { return global::Math.Proto.Math.Descriptor.Services[0]; }
+ }
+
// client interface
public interface IMathClient
{