LocationInterceptionArgs.SetNewValue Method |
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract void SetNewValue( Object value )
Parameters
- value
- Type: System.Object
The value to be passed to the next node in the chain of invocation (see Binding).
Implements
ILocationInterceptionArgs.SetNewValue(Object)This method is designed to be invoked during the execution of the advice. If you need to retrieve or store the value of the location at a different time, it is recommended to use the Binding . Indeed, a binding is stateless, while LocationInterceptionArgs instances may be shared among different aspects. |