PostSharpAPI ReferencePost­Sharp.​Patterns.​XamlCommand­AttributeOn­Property­Get
Open sandboxFocus

Method OnPropertyGet

OnPropertyGet<T>(Object, ILocationBinding, out T)

Declaration
[OnLocationGetValueAdvice(Description = "Activates notifications for the property", LinesOfCodeAvoided = 2)]
[SelfPointcut]
[LocationInterceptionAdviceOptimization]
[Internal(AttributeId = 6350852601680003106L)]
[DebuggerAspectMethod]
public void OnPropertyGet<T>([This] object instance, [Binding] ILocationBinding property, [LocationValue] out T value)
Parameters
Type Name Description
Object instance
ILocationBinding property
T value
Type Parameters
Name Description
T