C# Class MetroTrilithon.Mvvm.PropertyChangedExtensions

Afficher le fichier Open project: Grabacr07/MetroTrilithon

Méthodes publiques

Méthode Description
Subscribe ( this source, Action action ) : IDisposable

INotifyPropertyChanged.PropertyChanged イベントを購読します。

Subscribe ( this source, PropertyChangedEventHandler handler ) : IDisposable

INotifyPropertyChanged.PropertyChanged イベントを購読します。

Subscribe ( this source, string propertyName, System.Action action, bool immediately = true ) : ListenerWrapper

指定したプロパティ名で発生した INotifyPropertyChanged.PropertyChanged イベントを購読します。

Method Details

Subscribe() public static méthode

INotifyPropertyChanged.PropertyChanged イベントを購読します。
public static Subscribe ( this source, Action action ) : IDisposable
source this イベント ソース。
action Action イベント発生時に、 を受け取って実行されるメソッド。
Résultat IDisposable

Subscribe() public static méthode

INotifyPropertyChanged.PropertyChanged イベントを購読します。
public static Subscribe ( this source, PropertyChangedEventHandler handler ) : IDisposable
source this
handler PropertyChangedEventHandler
Résultat IDisposable

Subscribe() public static méthode

指定したプロパティ名で発生した INotifyPropertyChanged.PropertyChanged イベントを購読します。
public static Subscribe ( this source, string propertyName, System.Action action, bool immediately = true ) : ListenerWrapper
source this イベント ソース。
propertyName string イベントを購読するプロパティの名前。
action System.Action イベント発生時に実行するメソッド。
immediately bool このメソッドの呼び出し時点で を 1 度実行する場合は true、それ以外の場合は false。既定値は true です。
Résultat ListenerWrapper