IntroduceConstructor(INamedType, string, OverrideStrategy, Action<IConstructorBuilder>?, object?, object?)
Declaration
IIntroductionAdviceResult<IConstructor> IntroduceConstructor(INamedType targetType, string template, OverrideStrategy whenExists = OverrideStrategy.Default, Action<IConstructorBuilder>? buildConstructor = null, object? args = null, object? tags = null)
Parameters
Type | Name | Description |
---|---|---|
INamedType | targetType | |
string | template | |
OverrideStrategy | whenExists | |
Action<IConstructorBuilder> | buildConstructor | |
object | args | |
object | tags |
Returns
Type | Description |
---|---|
IIntroductionAdviceResult<IConstructor> |