PostSharp//API Reference/Post­Sharp.​Aspects.​Advices/Introduce­Interface­Attribute/Introduce­Interface­Attribute
Open sandboxFocus

Constructor IntroduceInterfaceAttribute

IntroduceInterfaceAttribute(Type)

Initializes a new IntroduceInterfaceAttribute.

Declaration
public IntroduceInterfaceAttribute(Type interfaceType)
Parameters
Type Name Description
Type interfaceType

Interface that should be introduced into the types to which the aspect is applied.