PostSharp6.4//API Reference/Post­Sharp.​Aspects.​Advices Namespace/Import­Location­Advice­Instance Class/Import­Location­Advice­Instance Constructor

ImportLocationAdviceInstance Constructor

Overload List
  NameDescription
Public methodImportLocationAdviceInstance(FieldInfo, LocationInfo)
Initializes a new instance of the ImportLocationAdviceInstance class and specifies which field or property should be imported by giving its reflection representation.
Public methodImportLocationAdviceInstance(FieldInfo, String, Boolean, ImportMemberOrder)
Initializes a new instance of the ImportLocationAdviceInstance class and specifies the name of the property to be imported; the type of this property will be matched according to the type of the aspect field.
Public methodImportLocationAdviceInstance(FieldInfo, String[], Boolean, ImportMemberOrder)
Initializes a new instance of the ImportLocationAdviceInstance class and specifies the name of the property to be imported; the type of this property will be matched according to the type of the aspect field.
See Also