[]
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. |