C# Class ReactiveCaliburn.ReactiveScreen

Inheritance: ReactiveViewAware, Caliburn.Micro.IScreen, IChild
Afficher le fichier Open project: TheAngryByrd/MetroPass

Méthodes publiques

Méthode Description
CanClose ( Action callback ) : void

Called to check whether or not this instance can close.

ReactiveScreen ( ) : System

Creates an instance of ReactiveScreen.

TryClose ( ) : void

Tries to close this instance by asking its Parent to initiate shutdown or by asking its corresponding view to close.

TryClose ( bool dialogResult ) : void

Closes this instance by asking its Parent to initiate shutdown or by asking it's corresponding view to close. This overload also provides an opportunity to pass a dialog result to it's corresponding view.

Méthodes protégées

Méthode Description
OnActivate ( ) : System.Threading.Tasks.Task

Called when activating.

OnDeactivate ( bool close ) : System.Threading.Tasks.Task

Called when deactivating.

OnInitialize ( ) : System.Threading.Tasks.Task

Called when initializing.

Private Methods

Méthode Description
GetViewCloseAction ( bool dialogResult ) : System.Action
IActivate ( ) : void
IDeactivate ( bool close ) : void

Method Details

CanClose() public méthode

Called to check whether or not this instance can close.
public CanClose ( Action callback ) : void
callback Action The implementor calls this action with the result of the close check.
Résultat void

OnActivate() protected méthode

Called when activating.
protected OnActivate ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

OnDeactivate() protected méthode

Called when deactivating.
protected OnDeactivate ( bool close ) : System.Threading.Tasks.Task
close bool Inidicates whether this instance will be closed.
Résultat System.Threading.Tasks.Task

OnInitialize() protected méthode

Called when initializing.
protected OnInitialize ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

ReactiveScreen() public méthode

Creates an instance of ReactiveScreen.
public ReactiveScreen ( ) : System
Résultat System

TryClose() public méthode

Tries to close this instance by asking its Parent to initiate shutdown or by asking its corresponding view to close.
public TryClose ( ) : void
Résultat void

TryClose() public méthode

Closes this instance by asking its Parent to initiate shutdown or by asking it's corresponding view to close. This overload also provides an opportunity to pass a dialog result to it's corresponding view.
public TryClose ( bool dialogResult ) : void
dialogResult bool The dialog result.
Résultat void