Assembly: PostSharp (in PostSharp.dll) Version: 22.214.171.124 (126.96.36.199)
public abstract class LocationInterceptionArgs : LocationLevelAdviceArgs, ILocationInterceptionArgs
Thetype exposes the following members.
Gets an interface that allows to invoke the next node in the chain of invocation of the intercepted method.
Gets the DeclarationIdentifier of the declaration to which the advice has been applied.(Inherited from AdviceArgs.)
Gets the current index arguments (in case of a property with parameters).
Gets or sets the object instance on which the method is being executed.(Inherited from AdviceArgs.)
Executes a delegate for the current ILocationInterceptionArgs interface.. This method allows to execute strongly-typed operations and avoid boxing required by the weakly typed
Retrieves the current value of the location without overwriting theproperty.
Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in theproperty.
Invokes the Set Location Value semantic on the next node in the chain of invocation and stores the value of theproperty into the location.
Sets the value of the location without overwriting theproperty.
|As a result of weaving optimizations, instances of classes derived from AdviceArgs may be shared among different aspects. Therefore, aspect code should not attempt to access this object once the control has been given over to the next node in the chain of invocation. Consider working with aspect bindings if you need such deferred execution.|
|Aspect weaving optimizations may also cause an advice parameter of this type to be seen null when inspecting it in a debugger. If you need to inspect the instance in runtime, consider disabling aspect optimizations in the debug build configuration.|