diff --git a/src/main/resources/csharp/api.mustache b/src/main/resources/csharp/api.mustache index b08081d81e9..36053337bf5 100644 --- a/src/main/resources/csharp/api.mustache +++ b/src/main/resources/csharp/api.mustache @@ -15,15 +15,24 @@ return apiInvoker; } + // Sets the endpoint base url for the services being accessed public void setBasePath(string basePath) { this.basePath = basePath; } + // Gets the endpoint base url for the services being accessed public String getBasePath() { return basePath; } {{#operation}} + + /// + /// {{summary}} {{notes}} + /// + {{#allParams}}/// {{description}} + {{#hasMore}} {{/hasMore}}{{/allParams}} + /// public {{#returnType}}{{{returnType}}} {{/returnType}}{{^returnType}}void {{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { // create path and map variables var path = "{{path}}".Replace("{format}","json"){{#pathParams}}.Replace("{" + "{{paramName}}" + "}", apiInvoker.escapeString({{{paramName}}}.ToString())){{/pathParams}}; diff --git a/src/main/resources/csharp/compile.mustache b/src/main/resources/csharp/compile.mustache index b19235fde3c..be16fb1636e 100644 --- a/src/main/resources/csharp/compile.mustache +++ b/src/main/resources/csharp/compile.mustache @@ -1,2 +1,2 @@ -SET CSCPATH=C:\windows\microsoft.net\Framework\v4.0.30319 -%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll /target:library /out:bin/{{invokerPackage}}.dll /recurse:src\*.cs \ No newline at end of file +SET CSCPATH=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319 +%CSCPATH%\csc /reference:bin/Newtonsoft.Json.dll /target:library /out:bin/{{invokerPackage}}.dll /recurse:src\*.cs /doc:bin/{{invokerPackage}}.xml \ No newline at end of file