Base class for ImportLocationAdviceInstance and ImportMethodAdviceInstance.
Inheritance
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public abstract class ImportMemberAdviceInstance : AdviceInstance
Properties
Name | Description |
---|---|
AspectField | Gets the field of the aspect class to which the field or property needs to be bound. |
IsRequired | Determines whether a build-time error should be emitted if the member cannot be found.
If |
MasterAspectMember | Gets the main field or method of the aspect class that the current AdviceInstance relates to. |
Member | Gets the reflection object (LocationInfo or MethodInfo) that needs to be
imported, or |
MemberNames | Gets the fallback list of possible names of the member to be imported. |
Order | Determines whether the AspectField should be bound to the member as resolved before or after introduction of new members into the target class by the current advise. |