IntroduceClass(INamespaceOrNamedType, string, OverrideStrategy, Action<INamedTypeBuilder>?)
Declaration
IClassIntroductionAdviceResult IntroduceClass(INamespaceOrNamedType targetNamespaceOrType, string name, OverrideStrategy whenExists = OverrideStrategy.Default, Action<INamedTypeBuilder>? buildType = null)
Parameters
Type | Name | Description |
---|---|---|
INamespaceOrNamedType | targetNamespaceOrType | |
string | name | |
OverrideStrategy | whenExists | |
Action<INamedTypeBuilder> | buildType |
Returns
Type | Description |
---|---|
IClassIntroductionAdviceResult |