diff options
| author | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-30 09:15:23 +0200 |
|---|---|---|
| committer | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-30 09:15:23 +0200 |
| commit | 170c38bb587eb3ed1cefbea074f4788550896670 (patch) | |
| tree | 03362dcc2584e29f1e4a0bdb6df931af498b7b21 | |
| parent | 8a50d851c330b5686f4d44cb0f94af1506fcf767 (diff) | |
for consistency PGF.FunctionByCategory is renamed to PGF.FunctionsByCat
| -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)) { |
