C# Class Channel9Downloader.ViewModels.Framework.SimpleViewModel

This class serves as base class for view models that require lifetime events.
Inheritance: BaseViewModel, ISimpleViewModel
Afficher le fichier Open project: MadCowDevelopment/Channel9Downloader Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

OnWindowActivated() protected méthode

Allows Window.Activated hook
protected OnWindowActivated ( ) : void
Résultat void

OnWindowClose() protected méthode

Allows Window.Close hook
protected OnWindowClose ( ) : void
Résultat void

OnWindowDeactivated() protected méthode

Allows Window.Deactivated hook
protected OnWindowDeactivated ( ) : void
Résultat void

OnWindowLoaded() protected méthode

Allows Window.Loaded/UserControl.Loaded hook
protected OnWindowLoaded ( ) : void
Résultat void

OnWindowUnloaded() protected méthode

Allows Window.Unloaded/UserControl.Unloaded hook
protected OnWindowUnloaded ( ) : void
Résultat void

RaiseActivateRequest() public méthode

This raises the ActivateRequest event to activate the UI.
public RaiseActivateRequest ( ) : void
Résultat void

RaiseCloseRequest() public méthode

This raises the CloseRequest event to close the UI.
public RaiseCloseRequest ( ) : void
Résultat void

RaiseCloseRequest() public méthode

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

SimpleViewModel() protected méthode

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