C# 클래스 CommonLib.Mvvm.ViewModelBase

Base class for all ViewModel classes in the application. It provides support for property change notifications and has a DisplayName property. This class is abstract.
상속: INotifyPropertyChanged, IDisposable
파일 보기 프로젝트 열기: jprichardson/CommonLib

공개 메소드들

메소드 설명
Dispose ( ) : void

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

보호된 메소드들

메소드 설명
OnDispose ( ) : void

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

OnPropertyChanged ( string propertyName ) : void

Raises this object's PropertyChanged event.

ViewModelBase ( ) : System

비공개 메소드들

메소드 설명
VerifyPropertyName ( string propertyName ) : void

메소드 상세

Dispose() 공개 메소드

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

OnDispose() 보호된 메소드

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

OnPropertyChanged() 보호된 메소드

Raises this object's PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string The property that has a new value.
리턴 void

ViewModelBase() 보호된 메소드

protected ViewModelBase ( ) : System
리턴 System