mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-27 03:38:55 -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>
|
||||||
<pre class="csharp">
|
<pre class="csharp">
|
||||||
IList<String> funsByCat = gr.FunctionsByCat("Weekday"); //// TODO
|
IEnumerable<String> funsByCat = gr.FunctionsByCat("Weekday");
|
||||||
....
|
....
|
||||||
</pre>
|
</pre>
|
||||||
The full type of a function can be retrieved as:
|
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.
|
/// Returns a list with all functions with a given return category.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="catName">The name of the return category.</param>
|
/// <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))
|
using (var str = new Native.NativeString(catName))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user