C# 클래스 Channel9Downloader.ViewModels.Framework.SimpleViewModel

This class serves as base class for view models that require lifetime events.
상속: BaseViewModel, ISimpleViewModel
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader 1 사용 예제들

공개 메소드들

메소드 설명
RaiseActivateRequest ( ) : void

This raises the ActivateRequest event to activate the UI.

RaiseCloseRequest ( ) : void

This raises the CloseRequest event to close the UI.

RaiseCloseRequest ( bool dialogResult ) : void

This raises the CloseRequest event to close the UI.

보호된 메소드들

메소드 설명
OnWindowActivated ( ) : void

Allows Window.Activated hook

OnWindowClose ( ) : void

Allows Window.Close hook

OnWindowDeactivated ( ) : void

Allows Window.Deactivated hook

OnWindowLoaded ( ) : void

Allows Window.Loaded/UserControl.Loaded hook

OnWindowUnloaded ( ) : void

Allows Window.Unloaded/UserControl.Unloaded hook

SimpleViewModel ( ) : System

Initializes a new instance of the SimpleViewModel class. Wires up all the Window based Lifetime commands.

메소드 상세

OnWindowActivated() 보호된 메소드

Allows Window.Activated hook
protected OnWindowActivated ( ) : void
리턴 void

OnWindowClose() 보호된 메소드

Allows Window.Close hook
protected OnWindowClose ( ) : void
리턴 void

OnWindowDeactivated() 보호된 메소드

Allows Window.Deactivated hook
protected OnWindowDeactivated ( ) : void
리턴 void

OnWindowLoaded() 보호된 메소드

Allows Window.Loaded/UserControl.Loaded hook
protected OnWindowLoaded ( ) : void
리턴 void

OnWindowUnloaded() 보호된 메소드

Allows Window.Unloaded/UserControl.Unloaded hook
protected OnWindowUnloaded ( ) : void
리턴 void

RaiseActivateRequest() 공개 메소드

This raises the ActivateRequest event to activate the UI.
public RaiseActivateRequest ( ) : void
리턴 void

RaiseCloseRequest() 공개 메소드

This raises the CloseRequest event to close the UI.
public RaiseCloseRequest ( ) : void
리턴 void

RaiseCloseRequest() 공개 메소드

This raises the CloseRequest event to close the UI.
public RaiseCloseRequest ( bool dialogResult ) : void
dialogResult bool The dialog result.
리턴 void

SimpleViewModel() 보호된 메소드

Initializes a new instance of the SimpleViewModel class. Wires up all the Window based Lifetime commands.
protected SimpleViewModel ( ) : System
리턴 System