Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model Namespace / Notify­Property­Changing­Adapter Class

NotifyPropertyChangingAdapter Class

Provides a unified adapter to the different variants of the INotifyPropertyChanging interface.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Model.NotifyPropertyChangingAdapter

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.39.0 (5.0.39.0)
Syntax
C#
public abstract class NotifyPropertyChangingAdapter

The NotifyPropertyChangingAdapter type exposes the following members.

Constructors
  NameDescription
Protected methodNotifyPropertyChangingAdapter
Initializes a new instance of the NotifyPropertyChangingAdapter class.
Properties
  NameDescription
Protected propertyNext
Gets the next NotifyPropertyChangingAdapter in the chain.
Methods
  NameDescription
Public methodAddHandler
Adds a handler to PropertyChanging event.
Public methodIsSupported
Determines whether the NotifyPropertyChanging behavior is supported for a given object.
Public methodRemoveHandler
Removes a handler from PropertyChanging event.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks

To register your NotifyPropertyChangingAdapter, set the PropertyChangingAdapter property.

See Also