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

CommandAttribute.OnPropertySet Method

OnPropertySet<T>(Object, ILocationBinding, ref T)

Declaration
[OnLocationSetValueAdvice(Master = "OnPropertyGet", LinesOfCodeAvoided = 0)]
[SelfPointcut]
[LocationInterceptionAdviceOptimization]
[Internal(AttributeId = 6350852601680003107L)]
[DebuggerAspectMethod]
public void OnPropertySet<T>([This] object instance, [Binding] ILocationBinding property, [LocationValue] ref T value)
Parameters
Type Name Description
Object instance
ILocationBinding property
T value
Type Parameters
Name Description
T