diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-10-05 21:22:06 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-10-12 14:43:19 +0200 |
commit | 05cccba2f14648704725498439078766631f58f0 (patch) | |
tree | 1637e3dd4421a094466534fa68db76feae8bf5e9 /src/compiler | |
parent | cfcc0755a0c77180c3eaadea1c8d1103da2e8f36 (diff) |
add comment for NewInstance override
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/csharp_generator.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/csharp_generator.cc b/src/compiler/csharp_generator.cc index 591e5ae3d4..48157033db 100644 --- a/src/compiler/csharp_generator.cc +++ b/src/compiler/csharp_generator.cc @@ -495,6 +495,9 @@ void GenerateClientStub(Printer *out, const ServiceDescriptor *service) { // override NewInstance method out->Print( + "/// <summary>Creates a new instance of client from given " + "<c>ClientBaseConfiguration</c>.</summary>\n"); + out->Print( "protected override $name$ NewInstance(ClientBaseConfiguration " "configuration)\n", "name", GetClientClassName(service)); |