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

ImportMemberAttribute.Order Property

Order

Determines when the member should be imported: either before (BeforeIntroductions) or after (AfterIntroductions) members have been introduced by the current aspect. Default is BeforeIntroductions.

Declaration
public ImportMemberOrder Order { get; set; }
Property Value
Type Description
ImportMemberOrder
Remarks

Sometimes it makes sense for an aspect to import a member after the same aspect has introduced member. This allows the aspect to invoke a member that could be overridden by later aspects.