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

ImportLocationAdviceInstance 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 accesses a field or property, use IFieldOrProperty. or IFieldOrProperty..Value.

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

Constructors

Name Description
ImportLocationAdviceInstance(FieldInfo, LocationInfo)
ImportLocationAdviceInstance(FieldInfo, String, Boolean, ImportMemberOrder)
ImportLocationAdviceInstance(FieldInfo, String[], Boolean, ImportMemberOrder)

Properties

Name Description
Location
Member
MemberNames

See Also