mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-13 14:59:32 -06:00
for consistency PGF.FunctionByCategory is renamed to PGF.FunctionsByCat
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user