PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesIntroduce­Interface­AttributeIntroduce­Interface­Attribute
Open sandboxFocus

IntroduceInterfaceAttribute Constructor

IntroduceInterfaceAttribute(Type)

Initializes a new IntroduceInterfaceAttribute.

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

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