PostSharp6.5//API Reference/Post­Sharp.​Aspects Namespace/ILocation­Interception­Args(T) Interface

ILocationInterceptionArgs<T> Interface

A strongly-typed specialization of the ILocationInterceptionArgs interface.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.9.0 (6.5.9.0)
Syntax
C#
public interface ILocationInterceptionArgs<T> : ILocationInterceptionArgs

Type Parameters

T
Type of the location value.

The ILocationInterceptionArgs<T> 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).
(Inherited from ILocationInterceptionArgs.)
Public propertyInstance
Gets or sets the object instance on which the method is being executed.
(Inherited from ILocationInterceptionArgs.)
Public propertyLocation
See Location
(Inherited from ILocationInterceptionArgs.)
Public propertyLocationFullName
See LocationFullName
(Inherited from ILocationInterceptionArgs.)
Public propertyLocationName
See LocationName
(Inherited from ILocationInterceptionArgs.)
Public propertyValue
Gets or sets the location 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.
(Inherited from ILocationInterceptionArgs.)
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.
(Inherited from ILocationInterceptionArgs.)
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.
(Inherited from ILocationInterceptionArgs.)
Public methodSetNewValue(Object)
Sets the value of the location without overwriting the [!:LocationInterceptionArgs.Value] property.
(Inherited from ILocationInterceptionArgs.)
Public methodSetNewValue(T)
Sets the value of the location without overwriting the [!:LocationInterceptionArgs.Value] property.
Remarks
See Also