C# 클래스 Sanguosha.UI.Controls.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
파일 보기 프로젝트 열기: RagingBigFemaleBird/sgs

공개 메소드들

메소드 설명
AttachAll ( ) : void
DetachAll ( ) : void
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
_UpdateAll ( ) : void

메소드 상세

AttachAll() 공개 정적인 메소드

public static AttachAll ( ) : void
리턴 void

DetachAll() 공개 정적인 메소드

public static DetachAll ( ) : void
리턴 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