IntroduceParameter(IConstructor, string, IType, TypedConstant, Func<IParameter, IConstructor, PullAction>?, ImmutableArray<AttributeConstruction>)
Declaration
IIntroductionAdviceResult<IParameter> IntroduceParameter(IConstructor constructor, string parameterName, IType parameterType, TypedConstant defaultValue, Func<IParameter, IConstructor, PullAction>? pullAction = null, ImmutableArray<AttributeConstruction> attributes = default)
Parameters
Type | Name | Description |
---|---|---|
IConstructor | constructor | |
string | parameterName | |
IType | parameterType | |
TypedConstant | defaultValue | |
Func<IParameter, IConstructor, PullAction> | pullAction | |
ImmutableArray<AttributeConstruction> | attributes |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IParameter> |
IntroduceParameter(IConstructor, string, Type, TypedConstant, Func<IParameter, IConstructor, PullAction>?, ImmutableArray<AttributeConstruction>)
Declaration
IIntroductionAdviceResult<IParameter> IntroduceParameter(IConstructor constructor, string parameterName, Type parameterType, TypedConstant defaultValue, Func<IParameter, IConstructor, PullAction>? pullAction = null, ImmutableArray<AttributeConstruction> attributes = default)
Parameters
Type | Name | Description |
---|---|---|
IConstructor | constructor | |
string | parameterName | |
Type | parameterType | |
TypedConstant | defaultValue | |
Func<IParameter, IConstructor, PullAction> | pullAction | |
ImmutableArray<AttributeConstruction> | attributes |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IParameter> |