PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesImport­Member­Order
Open sandboxFocus

ImportMemberOrder Class

Enumeration of moments when members should be imported into an aspect.

Inheritance
System.Object
ImportMemberOrder
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class ImportMemberOrder : Enum

Fields

Name Description
AfterIntroductions

After the aspect introduces its own members. Note that importing a member introduced by the current aspect makes sense only if the member has been introduced as virtual; in this case, the the imported member is dynamically resolved using the virtual table of the target object.

BeforeIntroductions

Before the aspect introduces its own members. This is similar to calling the overridden method using the base keyword in C#. The overridden method implementation is always selected, even if the method is virtual.

Default AfterIntroductions
value__

See Also