C# Class Lawo.ComponentModel.PropertyChangedRegistration

Represents multiple subscriptions to INotifyPropertyChanged.PropertyChanged.
Inheritance: IDisposable
显示文件 Open project: Lawo/ember-plus-sharp

Public Methods

Method Description
Dispose ( ) : void

Stops forwarding change notifications.

If the registration is intended to be permanent it is permissible to to never call Dispose.

PropertyChangedRegistration ( PropertyChangedEventHandler handler ) : System

Initializes a new instance of the PropertyChangedRegistration class.

After construction, each change to one of the properties in properties is forwarded to handler until Dispose is called.

Private Methods

Method Description
OnPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

Dispose() public method

Stops forwarding change notifications.
If the registration is intended to be permanent it is permissible to to never call Dispose.
public Dispose ( ) : void
return void

PropertyChangedRegistration() public method

Initializes a new instance of the PropertyChangedRegistration class.
After construction, each change to one of the properties in properties is forwarded to handler until Dispose is called.
One or more elements of equal null. /// and/or /// equal null.
public PropertyChangedRegistration ( PropertyChangedEventHandler handler ) : System
handler PropertyChangedEventHandler The handler to which all change notifications are forwarded.
return System