PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Notify­Property­Changed­Attribute­Target­Class Class / Notify­Property­Changed­Attribute­Target­Class Methods / Notify­Property­Changed­Attribute­Target­Class.​On­Property­Changed Method
NotifyPropertyChangedAttributeTargetClass.OnPropertyChanged Method
Raises the PropertyChanged event. If this method is already present in the target code, the NotifyPropertyChangedAttribute aspect will use it to raise the PropertyChanged event. Otherwise, the aspect will introduce the method into the target class.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
protected virtual void OnPropertyChanged(
	string propertyName
)

Parameters

propertyName
Type: System.String
Name of the changed property. The NotifyPropertyChangedAttribute aspect never passes null to this parameter.
See Also