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