This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

ILocationInterceptionArgs.ProceedGetValue Method

Invokes the Get Location Value semantic on the next node in the chain of invocation and stores the location value in the Value property.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.34.0 (5.0.34.0)
Syntax
C#
void ProceedGetValue()
Remarks

Note that this method overwrites the content of the Value property. Therefore, you should not call this invoke from a OnSetValue(LocationInterceptionArgs) advice unless you store the value before. If you need to retrieve the current value of the location from a OnSetValue(LocationInterceptionArgs) advice, it is recommended you use the GetCurrentValue() method.


Note Note
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.
See Also