[]
Added a custom function to engine of C1ExpressionEditor.
public void AddFunction(ExpressionItem item, Func<List<object>, object> function, int minArgsCount, int maxArgsCount)
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)
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)
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. |