ILocationInterceptionArgs<T> Interface |
A strongly-typed specialization of the ILocationInterceptionArgs interface.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)

C#
public interface ILocationInterceptionArgs<T> : ILocationInterceptionArgs
Type Parameters
- T
- Type of the location value.
The ILocationInterceptionArgs<T> type exposes the following members.

Name | Description | |
---|---|---|
![]() | Binding |
Gets an interface that allows to invoke the next node in the chain of invocation of the intercepted method.
|
![]() | Index |
Gets the current index arguments (in case of a property with parameters).
(Inherited from ILocationInterceptionArgs.) |
![]() | Instance |
Gets or sets the object instance on which the method is being executed.
(Inherited from ILocationInterceptionArgs.) |
![]() | Location |
See Location (Inherited from ILocationInterceptionArgs.) |
![]() | LocationFullName |
See LocationFullName (Inherited from ILocationInterceptionArgs.) |
![]() | LocationName |
See LocationName (Inherited from ILocationInterceptionArgs.) |
![]() | Value |
Gets or sets the location value.
|

Name | Description | |
---|---|---|
![]() | Execute<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.) |
![]() | GetCurrentValue |
Retrieves the current value of the location without overwriting the Value property.
|
![]() | ProceedGetValue |
Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in the Value property.
(Inherited from ILocationInterceptionArgs.) |
![]() | ProceedSetValue |
Invokes the Set Location Value semantic on the next node in the chain of invocation and stores the value of the Value property into
the location.
(Inherited from ILocationInterceptionArgs.) |
![]() | SetNewValue(Object) |
Sets the value of the location without overwriting the Value property.
(Inherited from ILocationInterceptionArgs.) |
![]() | SetNewValue(T) |
Sets the value of the location without overwriting the Value property.
|

Use the Execute<TPayload>(ILocationInterceptionArgsAction<TPayload>, TPayload) method to consume this interface.
