From 170c38bb587eb3ed1cefbea074f4788550896670 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 30 Aug 2017 09:15:23 +0200 Subject: [PATCH] for consistency PGF.FunctionByCategory is renamed to PGF.FunctionsByCat --- doc/runtime-api.html | 2 +- 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"); ....
-IList<String> funsByCat = gr.FunctionsByCat("Weekday");    //// TODO
+IEnumerable<String> funsByCat = gr.FunctionsByCat("Weekday");
 ....
 
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. /// /// The name of the return category. - public IEnumerable FunctionByCategory(string catName) + public IEnumerable FunctionsByCat(string catName) { using (var str = new Native.NativeString(catName)) {