PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Introduce­Interface­Attribute Class / Introduce­Interface­Attribute Properties
IntroduceInterfaceAttribute Properties

The IntroduceInterfaceAttribute type exposes the following members.

Properties
  Name Description
Public property AncestorOverrideAction
Specifies the action (Fail or Ignore) to be overtaken when an ancestor of the interface specified in the constructor of this custom attribute is already implemented by the type to which the current aspect is applied.
Public property Description
A human-readable description of the current advice.
(Inherited from Advice.)
Public property IsProtected Obsolete.
Determines whether the interface should be exposed indirectly through the IProtectedInterface<T> interface. If false, the interface will be implemented directly by the type.
Public property LinesOfCodeAvoided
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.)
Public property OverrideAction
Specifies the action (Fail or Ignore) to be overtaken when the interface specified in the constructor of this custom attribute is already implemented by the type to which the current aspect is applied.
See Also