IntroduceInterfaceAdviceInstance Class |
Represents an advise that introduces an interface into the target class. The interface must be implemented by the aspect class.
System.Object
PostSharp.Aspects.Advices.AdviceInstance
PostSharp.Aspects.Advices.IntroduceInterfaceAdviceInstance
PostSharp.Aspects.Advices.AdviceInstance
PostSharp.Aspects.Advices.IntroduceInterfaceAdviceInstance
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class IntroduceInterfaceAdviceInstance : AdviceInstance
The IntroduceInterfaceAdviceInstance type exposes the following members.
Name | Description | |
---|---|---|
IntroduceInterfaceAdviceInstance |
Initializes a new instance of the IntroduceInterfaceAdviceInstance class.
|
Name | Description | |
---|---|---|
AncestorOverrideAction | ||
Description |
A human-readable description of the current advice instance.
(Inherited from AdviceInstance.) | |
InterfaceType |
Gets the interface to be introduced into the target class.
| |
LinesOfCodeAvoided |
The number of lines of hand-written code avoided by this specific AdviceInstance.
(Inherited from AdviceInstance.) | |
MasterAspectMember | (Overrides AdviceInstance.MasterAspectMember.) | |
OverrideAction |