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

Method OnPropertyGet

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

Declaration
[OnLocationGetValueAdvice(Description = "Activates notifications for the property", LinesOfCodeAvoided = 0)]
[ProvideAspectRole("INPC_EventHook")]
[AspectRoleDependency]
[MethodPointcut("SelectProperties")]
[LocationInterceptionAdviceOptimization]
[Internal(AttributeId = -5178615503861546930L)]
[DebuggerAspectMethod]
public void OnPropertyGet<T>([Binding] ILocationBinding<T> binding, [This] object instance, [LocationValue] out T value, [DeclarationIdentifier] DeclarationIdentifier declarationIdentifier)
Parameters
Type Name Description
ILocationBinding<T> binding
Object instance
T value
DeclarationIdentifier declarationIdentifier
Type Parameters
Name Description
T