ILocationInterceptionArgs Interface |
An interface for LocationInterceptionArgs.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface ILocationInterceptionArgs
The ILocationInterceptionArgs 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).
| |
Instance |
Gets or sets the object instance on which the method is being executed.
| |
Location |
See Location | |
LocationFullName |
See LocationFullName | |
LocationName |
See LocationName | |
Value |
See 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.
| |
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.
| |
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.
| |
SetNewValue |
Sets the value of the location without overwriting the Value property.
|
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).