aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2018-07-26 11:29:57 +0200
committerGravatar GitHub <noreply@github.com>2018-07-26 11:29:57 +0200
commit871268fce906b61aafa8f9f0bf97a47b03e61854 (patch)
treedce64a8a607e5a3ae4a030e18ff75d4016923a01 /doc
parent6ed784ae4a95856a76f6ef3245cace7d208e9bc5 (diff)
Address review comments
Diffstat (limited to 'doc')
-rw-r--r--doc/csharp/server_reflection.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/csharp/server_reflection.md b/doc/csharp/server_reflection.md
index 42adf9579f..9721680269 100644
--- a/doc/csharp/server_reflection.md
+++ b/doc/csharp/server_reflection.md
@@ -10,8 +10,9 @@ C# Server Reflection is an add-on library.
To use it, first install the [Grpc.Reflection](https://www.nuget.org/packages/Grpc.Reflection/)
Nuget package into your project.
-Unlike in other languages, with C# you need to manually register the service
-descriptors with the reflection service implementation when creating a server.
+Note that with C# you need to manually register the service
+descriptors with the reflection service implementation when creating a server
+(this isn't necessary with e.g. C++ or Java)
```csharp
// the reflection service will be aware of "Greeter" and "ServerReflection" services.
var reflectionServiceImpl = new ReflectionServiceImpl(Greeter.Descriptor, ServerReflection.Descriptor);