for consistency PGF.FunctionByCategory is renamed to PGF.FunctionsByCat

This commit is contained in:
Krasimir Angelov
2017-08-30 09:15:23 +02:00
parent 8a50d851c3
commit 170c38bb58
2 changed files with 2 additions and 2 deletions

View File

@@ -870,7 +870,7 @@ List<String> funsByCat = gr.getFunctionsByCat("Weekday");
....
</pre>
<pre class="csharp">
IList&lt;String&gt; funsByCat = gr.FunctionsByCat("Weekday"); //// TODO
IEnumerable&lt;String&gt; funsByCat = gr.FunctionsByCat("Weekday");
....
</pre>
The full type of a function can be retrieved as:

View File

@@ -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))
{