PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Element Class / Element Methods / Element.​On­Property­Changed Method

Element.OnPropertyChanged Method

Method invoked when a property of the current instance has been changed.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
protected void OnPropertyChanged(
	string property,
	Object oldValue,
	Object newValue
)

Parameters

property
Type: System.String
Name of the changed property.
oldValue
Type: System.Object
Old value of the property.
newValue
Type: System.Object
New value of the property.
See Also