LocationLevelAdviceArgs.Location Property
Location
Gets the location (field, property or parameter) related to the aspect or advice being executed.
Declaration
public LocationInfo Location { get; set; }
Property Value
Type | Description |
---|---|
LocationInfo |
Remarks
note
Using this property causes the aspect weaver to generate code that has non-trivial runtime overhead. Avoid using this property whenever possible. One of the possible solution is to use compile-time initialization of aspect instances and to make use of reflection only at build time.