NotifyPropertyChangedAttribute Constructor (Boolean, Boolean)
Initializes a new instance of the NotifyPropertyChangedAttribute class and specifies whether the PropertyChanged event should hold a weak or strong reference to to the client delegates.

Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public NotifyPropertyChangedAttribute(
	bool holdWeakReference = false,
	bool preventFalsePositives = false
)

Parameters

holdWeakReference (Optional)
Type: System.Boolean
true if the PropertyChanged event should hold a WeakReference to the client delegates, false if the event should hold a normal reference.
preventFalsePositives (Optional)
Type: System.Boolean
true if the PropertyChanged event should be strictly fired only when property value itself did change, false if the event should be fired when any of its dependencies have changed.
See Also