Custom attribute that, when applied to an aspect class, specifies that the aspect should introduce a given interface into the type to which the aspect is applied.
Assembly: PostSharp (in PostSharp.dll) Version: 22.214.171.124 (126.96.36.199)
public sealed class IntroduceInterfaceAttribute : Advice
Thetype exposes the following members.
A human-readable description of the current advice.(Inherited from Advice.)
Determines whether the interface should be exposed indirectly through the IProtectedInterface<T> interface. If false, the interface will be implemented directly by the type.
Reduction in the code lines count achieved by applying the advice instance to one code element.(Inherited from Advice.)
Gets the implementation of a specified interface for the specified object.(Defined by QueryInterfaceExtensions.)
The introduced interface will be implemented explicitly by the type to which the aspect is applied.