PostSharp6.1/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
  NameDescription
Public propertyAncestorOverrideAction
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 propertyDescription
A human-readable description of the current advice.
(Inherited from Advice.)
Public propertyLinesOfCodeAvoided
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.)
Public propertyOverrideAction
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