[]
Added a custom function to engine of C1ExpressionEditor.
public void AddFunction(ExpressionItem item, Func<List<object>, object> function, int minArgsCount, int maxArgsCount)
Public Sub AddFunction(item As ExpressionItem, [function] As Func(Of List(Of Object), Object), minArgsCount As Integer, maxArgsCount As Integer)
| Type | Name | Description |
|---|---|---|
| ExpressionItem | item | Provides the function description for the C1ExpressionEditorPanel. |
| Func<List<object>, object> | function | The delegate that evaluates the function. |
| int | minArgsCount | Minimum arguments count. |
| int | maxArgsCount | Maximum arguments count. |
Added a custom function to engine of C1ExpressionEditor.
public void AddFunction(List<ExpressionItem> items, Func<List<object>, object> function, int minArgsCount, int maxArgsCount)
Public Sub AddFunction(items As List(Of ExpressionItem), [function] As Func(Of List(Of Object), Object), minArgsCount As Integer, maxArgsCount As Integer)
| Type | Name | Description |
|---|---|---|
| List<ExpressionItem> | items | Provides the function description for the C1ExpressionEditorPanel. |
| Func<List<object>, object> | function | The delegate that evaluates the function. |
| int | minArgsCount | Minimum arguments count. |
| int | maxArgsCount | Maximum arguments count. |
Added a custom function to engine of C1ExpressionEditor.
public void AddFunction(ExpressionItem item, Func<List<object>, object> function, int argsCount)
Public Sub AddFunction(item As ExpressionItem, [function] As Func(Of List(Of Object), Object), argsCount As Integer)
| Type | Name | Description |
|---|---|---|
| ExpressionItem | item | Provides the function description for the C1ExpressionEditorPanel. |
| Func<List<object>, object> | function | The delegate that evaluates the function. |
| int | argsCount | Arguments count. |