AddParameter(string, IType, RefKind, TypedConstant?)
Appends a parameter to the delegate.
Declaration
IParameterBuilder AddParameter(string name, IType type, RefKind refKind = RefKind.None, TypedConstant? defaultValue = null)Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the parameter. |
| IType | type | The type of the parameter. |
| RefKind | refKind | The reference kind of the parameter. |
| TypedConstant? | defaultValue | The default value of the parameter, or |
Returns
| Type | Description |
|---|---|
| IParameterBuilder | An IParameterBuilder that allows you to complete the construction of the parameter. |
AddParameter(string, Type, RefKind, TypedConstant?)
Appends a parameter to the delegate.
Declaration
IParameterBuilder AddParameter(string name, Type type, RefKind refKind = RefKind.None, TypedConstant? defaultValue = null)Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the parameter. |
| Type | type | The type of the parameter. |
| RefKind | refKind | The reference kind of the parameter. |
| TypedConstant? | defaultValue | The default value of the parameter, or |
Returns
| Type | Description |
|---|---|
| IParameterBuilder | An IParameterBuilder that allows you to complete the construction of the parameter. |