PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / ILocation­Interception­Args(T) Interface / ILocation­Interception­Args(T) Properties / ILocation­Interception­Args(T).​Value Property

ILocationInterceptionArgs<T>.Value Property

Gets or sets the location value.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
T Value { get; set; }

Property Value

Type: T

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.

See Also