PostSharpAPI ReferencePost­Sharp.​Aspects.​InternalsLocation­Level­Advice­ArgsValue
Open sandboxFocus

LocationLevelAdviceArgs.Value Property

Value

Gets or sets the location value.

Declaration
public abstract object Value { get; set; }
Property Value
Type Description
Object
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(Object) to get or set the value of the location without affecting the value of this property.