diff options
| -rw-r--r-- | doc/runtime-api.html | 2 | ||||
| -rw-r--r-- | src/runtime/dotNet/PGF.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/runtime-api.html b/doc/runtime-api.html index 6c22f39f5..dd79eb152 100644 --- a/doc/runtime-api.html +++ b/doc/runtime-api.html @@ -870,7 +870,7 @@ List<String> funsByCat = gr.getFunctionsByCat("Weekday"); .... </pre> <pre class="csharp"> -IList<String> funsByCat = gr.FunctionsByCat("Weekday"); //// TODO +IEnumerable<String> funsByCat = gr.FunctionsByCat("Weekday"); .... </pre> The full type of a function can be retrieved as: diff --git a/src/runtime/dotNet/PGF.cs b/src/runtime/dotNet/PGF.cs index 5abfbe91c..6fb7bad65 100644 --- a/src/runtime/dotNet/PGF.cs +++ b/src/runtime/dotNet/PGF.cs @@ -79,7 +79,7 @@ namespace PGFSharp /// Returns a list with all functions with a given return category. /// </summary> /// <param name="catName">The name of the return category.</param> - public IEnumerable<string> FunctionByCategory(string catName) + public IEnumerable<string> FunctionsByCat(string catName) { using (var str = new Native.NativeString(catName)) { |
