MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​Aspects.​AdvicesImport­Method­Advice­Instance
Open sandboxFocus

ImportMethodAdviceInstance Class

In Metalama, members of the target declaration do not need to be imported into the aspect. Instead, the aspect accesses the target code using dynamic code or invokers. To generate code that calls a method, use IMethod..

Inheritance
ImportMethodAdviceInstance
Namespace: PostSharp.Aspects.Advices
Assembly: Metalama.Migration.dll
Syntax
public sealed class ImportMethodAdviceInstance : ImportMemberAdviceInstance

Constructors

Name Description
ImportMethodAdviceInstance(FieldInfo, String, Boolean, ImportMemberOrder)
ImportMethodAdviceInstance(FieldInfo, String[], Boolean, ImportMemberOrder)

Properties

Name Description
Member
MemberNames

See Also