IntroduceMemberAttribute Class |
System.Attribute
PostSharp.Aspects.Advices.Advice
PostSharp.Aspects.Advices.IntroduceMemberAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
public sealed class IntroduceMemberAttribute : Advice
The IntroduceMemberAttribute type exposes the following members.
Name | Description | |
---|---|---|
IntroduceMemberAttribute | Initializes a new instance of the IntroduceMemberAttribute class |
Name | Description | |
---|---|---|
Description |
A human-readable description of the current advice.
(Inherited from Advice.) | |
IsIsVirtualSpecified |
Determines whether the IsVirtual property has been specified.
| |
IsVirtual |
Determines whether the introduced member should be virtual.
| |
LinesOfCodeAvoided |
Reduction in the code lines count achieved by applying the advice instance to one code element.
(Inherited from Advice.) | |
OverrideAction |
Determines the action to be overtaken when the member to be introduced already exists
in the type to which the aspect is applied, or to a base type.
| |
Visibility |
Name | Description | |
---|---|---|
QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
Methods, properties and events annotated with IntroduceMemberAttribute must be public.