Skip to content

Commit

Permalink
service descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch committed Aug 8, 2015
1 parent 8644aea commit 9ee27e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/csharp/Grpc.Examples/MathGrpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public static class 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
{
Expand Down

0 comments on commit 9ee27e1

Please sign in to comment.