Open sandboxFocus

Enum ImportMemberOrder

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

Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public enum ImportMemberOrder

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

See Also