THRIFT-1489 Add support for WCF bindings (optionally) to C# compiler, allowing web service usage of Thrift generated code
Patch: Kieran Benton
fix: add missing area of XML documentation generation
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1234095 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_csharp_generator.cc b/compiler/cpp/src/generate/t_csharp_generator.cc
index 7687eef..02db2c1 100644
--- a/compiler/cpp/src/generate/t_csharp_generator.cc
+++ b/compiler/cpp/src/generate/t_csharp_generator.cc
@@ -914,6 +914,8 @@
extends_client = extends + ".Client, ";
}
+ generate_csharp_doc(f_service_, tservice);
+
indent(f_service_) <<
"public class Client : " << extends_client << "Iface {" << endl;
indent_up();
@@ -964,6 +966,7 @@
string funname = (*f_iter)->get_name();
indent(f_service_) << endl;
+
indent(f_service_) << "#if SILVERLIGHT" << endl;
// Begin_
indent(f_service_) <<
@@ -1053,6 +1056,7 @@
indent(f_service_) << "#endif" << endl << endl;
// "Normal" Synchronous invoke
+ generate_csharp_doc(f_service_, *f_iter);
indent(f_service_) <<
"public " << function_signature(*f_iter) << endl;
scope_up(f_service_);