PostSharp SDK 6.9 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Element Class / Element Methods / Element.​Notify­Child­Property­Changed Method

Element.NotifyChildPropertyChanged Method

Method invoked when a property of a child has been changed.

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
protected virtual bool NotifyChildPropertyChanged(
	Element child,
	string property,
	Object oldValue,
	Object newValue
)

Parameters

child
Type: PostSharp.Sdk.CodeModel.Element
Child object that has been changed.
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.

Return Value

Type: Boolean
true if the notification was processed by the current method, otherwise false.
Remarks
Implementations of this method should first call the base implementation; if the base implementation returns true, the notification has been processed, so the current implementation can return immediately true.
See Also