Represents an advises that import a method of the target class into the aspect class.
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
public sealed class ImportMethodAdviceInstance : ImportMemberAdviceInstanceConstructors
| Name | Description |
|---|---|
| ImportMethodAdviceInstance(FieldInfo, string, bool, ImportMemberOrder) | Initializes a new instance of the ImportMethodAdviceInstance. |
| ImportMethodAdviceInstance(FieldInfo, string[], bool, ImportMemberOrder) | Initializes a new instance of the ImportMethodAdviceInstance. |
Properties
| Name | Description |
|---|---|
| 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. |