[]
初始化参数的实例。
public Parameter(FunctionValueType valueType)
| Type | Name | Description |
|---|---|---|
| FunctionValueType | valueType | 参数的值类型。 |
初始化参数的实例。
public Parameter(FunctionValueType valueType, bool acceptReference)
| Type | Name | Description |
|---|---|---|
| FunctionValueType | valueType | 参数的值类型。 |
| bool | acceptReference | 此参数是否可以接受引用。 |
初始化参数的实例。
public Parameter(FunctionValueType valueType, bool acceptReference, bool acceptCustomObjects)
| Type | Name | Description |
|---|---|---|
| FunctionValueType | valueType | 参数的值类型。 |
| bool | acceptReference | 如果此参数可以接受引用。 |
| bool | acceptCustomObjects | 如果值类型是Object ,则接受自定义对象。 |
初始化参数的实例。
public Parameter(FunctionValueType valueType, object defaultValue)
| Type | Name | Description |
|---|---|---|
| FunctionValueType | valueType | 参数的值类型。 |
| object | defaultValue | 参数的默认值。 |
初始化参数的实例。
public Parameter(FunctionValueType valueType, object defaultValue, bool acceptReference)
| Type | Name | Description |
|---|---|---|
| FunctionValueType | valueType | 参数的值类型。 |
| object | defaultValue | 参数的默认值。 |
| bool | acceptReference | 如果此参数可以接受引用。 |
初始化参数的实例。
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue)
| Type | Name | Description |
|---|---|---|
| string | name | 参数的名称。 |
| string | description | 参数的描述。 |
| FunctionValueType | valueType | 参数的值类型。 |
| object | defaultValue | 参数的默认值。 |
初始化参数的实例。
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference)
| Type | Name | Description |
|---|---|---|
| string | name | 函数的名称。 |
| string | description | 参数的描述。 |
| FunctionValueType | valueType | 参数的值类型。 |
| object | defaultValue | 参数的默认值。 |
| bool | acceptReference | 如果此参数可以接受引用。 |
初始化参数的实例。
public Parameter(string name, string description, FunctionValueType valueType, object defaultValue, bool acceptReference, bool acceptCustomObjects)
| Type | Name | Description |
|---|---|---|
| string | name | 函数的名称。 |
| string | description | 参数的描述。 |
| FunctionValueType | valueType | 参数的值类型。 |
| object | defaultValue | 参数的默认值。 |
| bool | acceptReference | 如果此参数可以接受引用。 |
| bool | acceptCustomObjects | 如果值类型是Object ,则接受自定义对象。 |