[]
初始化自定义函数的实例。
protected AsyncCustomFunction(string name, FunctionValueType result)
| Type | Name | Description |
|---|---|---|
| string | name | 自定义函数的名称。 |
| FunctionValueType | result | 指定自定义函数的返回类型。 |
初始化自定义函数的实例。
protected AsyncCustomFunction(string name, FunctionValueType result, Parameter[] parameters)
| Type | Name | Description |
|---|---|---|
| string | name | 自定义函数的名称。 |
| FunctionValueType | result | 指定自定义函数的返回类型。 |
| Parameter[] | parameters | 指定自定义函数的参数。 |
初始化自定义函数的实例。
protected AsyncCustomFunction(string name, string description, FunctionValueType result, Parameter[] parameters)
| Type | Name | Description |
|---|---|---|
| string | name | 自定义函数的名称。 |
| string | description | 自定义函数的描述。 |
| FunctionValueType | result | 指定自定义函数的返回类型。 |
| Parameter[] | parameters | 指定自定义函数的参数。 |