PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Advices Namespace / Import­Member­Attribute Class / Import­Member­Attribute Properties / Import­Member­Attribute.​Order Property

ImportMemberAttribute.Order Property

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

Namespace:  PostSharp.Aspects.Advices
Assembly:  PostSharp (in PostSharp.dll) Version: (
public ImportMemberOrder Order { get; set; }

Property Value

Type: ImportMemberOrder
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.
See Also