PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changing­Adapter
Open sandboxFocus

NotifyPropertyChangingAdapter Class

Provides a unified adapter to the different variants of the INotifyPropertyChanging interface.

Inheritance
NotifyPropertyChangingAdapter
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model.dll
Syntax
public abstract class NotifyPropertyChangingAdapter : Object
Remarks

To register your NotifyPropertyChangingAdapter, set the PropertyChangingAdapter property.

Constructors

Name Description
NotifyPropertyChangingAdapter(NotifyPropertyChangingAdapter)

Initializes a new instance of the NotifyPropertyChangingAdapter class.

Properties

Name Description
Next

Gets the next NotifyPropertyChangingAdapter in the chain.

Methods

Name Description
AddHandler(Object, Action<String>)

Adds a handler to PropertyChanging event.

IsSupported(Object)

Determines whether the NotifyPropertyChanging behavior is supported for a given object.

RemoveHandler(Object, Delegate)

Removes a handler from PropertyChanging event.