C# Class WpfApp7.ViewModelBase

Inheritance: INotifyPropertyChanged, IDisposable
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
Dispose ( ) : void

Invoked when this object is being removed from the application and will be subject to garbage collection.

Méthodes protégées

Méthode Description
OnDispose ( ) : void

Child classes can override this method to perform clean-up logic, such as removing event handlers.

RaisePropertyChanged ( string propertyName ) : void

Raises this object's PropertyChanged event.

Private Methods

Méthode Description
VerifyPropertyName ( string propertyName ) : void

Method Details

Dispose() public méthode

Invoked when this object is being removed from the application and will be subject to garbage collection.
public Dispose ( ) : void
Résultat void

OnDispose() protected méthode

Child classes can override this method to perform clean-up logic, such as removing event handlers.
protected OnDispose ( ) : void
Résultat void

RaisePropertyChanged() protected méthode

Raises this object's PropertyChanged event.
protected RaisePropertyChanged ( string propertyName ) : void
propertyName string The property that has a new value.
Résultat void