PostSharp//API Reference/Post­Sharp.​Aspects.​Advices/Introduce­Member­Attribute
Open sandboxFocus

Class IntroduceMemberAttribute

Custom attribute that, when applied on a method, event or property of an aspect class, specifies that this method, event or property should be introduced into the types to which the aspect is applied.

Inheritance
IntroduceMemberAttribute
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
[RequiresDebuggerEnhancement]
public sealed class IntroduceMemberAttribute : Advice

Constructors

Name Description
IntroduceMemberAttribute() PostSharp.Aspects.Advices.IntroduceMemberAttribute

Properties

Name Description
IsIsVirtualSpecified

Determines whether the IsVirtual property has been specified.

IsVirtual

Determines whether the introduced member should be virtual.

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

Determines the visibility (Public, (Family, ...) of the introduced member.