AdviserExtensions.IntroduceClass Method
IntroduceClass(IAdviser<INamespaceOrNamedType>, string, OverrideStrategy, Action<INamedTypeBuilder>?)
Declaration
public static IClassIntroductionAdviceResult IntroduceClass(this IAdviser<INamespaceOrNamedType> adviser, string name, OverrideStrategy whenExists = OverrideStrategy.Default, Action<INamedTypeBuilder>? buildType = null)
Parameters
Type | Name | Description |
---|---|---|
IAdviser<INamespaceOrNamedType> | adviser | |
string | name | |
OverrideStrategy | whenExists | |
Action<INamedTypeBuilder> | buildType |
Returns
Type | Description |
---|---|
IClassIntroductionAdviceResult |