PostSharpAPI ReferencePost­Sharp.​AspectsILocation­Interception­Args<T>Value
Open sandboxFocus

ILocationInterceptionArgs<T>.Value Property

Value

Gets or sets the location value.

Declaration
T Value { get; set; }
Property Value
Type Description
T
Remarks

Inside an OnGetValue(LocationInterceptionArgs) advice, this property is available after the next advice in chain has been invoked using ProceedGetValue(). However, inside an OnSetValue(LocationInterceptionArgs) advice, the value is available immediately, and is used as input by ProceedSetValue().

See GetCurrentValue() and SetNewValue(T) to get or set the value of the location without affecting the value of this property.