Open sandboxFocus

Method IntroduceInterface

IntroduceInterface(INamespaceOrNamedType, string, OverrideStrategy, Action<INamedTypeBuilder>?)

Declaration
IClassIntroductionAdviceResult IntroduceInterface(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