PostSharp6.4/API Reference/Post­Sharp.​Aspects Namespace/ILocation­Interception­Args Interface

ILocationInterceptionArgs Interface

An interface for LocationInterceptionArgs.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public interface ILocationInterceptionArgs

The ILocationInterceptionArgs type exposes the following members.

Properties
  NameDescription
Public propertyBinding
Gets an interface that allows to invoke the next node in the chain of invocation of the intercepted method.
Public propertyIndex
Gets the current index arguments (in case of a property with parameters).
Public propertyInstance
Gets or sets the object instance on which the method is being executed.
Public propertyLocation
See Location
Public propertyLocationFullName
See LocationFullName
Public propertyLocationName
See LocationName
Public propertyValue
See Value
Methods
  NameDescription
Public methodExecute<TPayload>
Executes a delegate for the current LocationInterceptionArgs. This method allows to execute strongly-typed operations and avoid boxing required by the weakly typed ILocationInterceptionArgs interface.
Public methodGetCurrentValue
Retrieves the current value of the location without overwriting the [!:LocationInterceptionArgs.Value] property.
Public methodProceedGetValue
Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in the [!:LocationInterceptionArgs.Value] property.
Public methodProceedSetValue
Invokes the Set Location Value semantic on the next node in the chain of invocation and stores the value of the [!:LocationInterceptionArgs.Value] property into the location.
Public methodSetNewValue
Sets the value of the location without overwriting the [!:LocationInterceptionArgs.Value] property.
Remarks

This interface is not generally used directly, but it serves as a base for the strongly-typed ILocationInterceptionArgs<T>, which is used by Execute<TPayload>(ILocationInterceptionArgsAction<TPayload>, TPayload).

See Also