C# Class Caliburn.Micro.ReactiveUI.ReactiveScreen

A base implementation of IScreen.
Inheritance: ReactiveViewAware, IScreen, IChild
Afficher le fichier Open project: dchaib/Caliburn.Micro.ReactiveUI

Méthodes publiques

Méthode Description
CanClose ( Action callback ) : void

Called to check whether or not this instance can close.

ReactiveScreen ( ) : ReactiveUI

Creates an instance of ReactiveScreen.

TryClose ( bool dialogResult = null ) : void

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

Méthodes protégées

Méthode Description
OnActivate ( ) : void

Called when activating.

OnDeactivate ( bool close ) : void

Called when deactivating.

OnInitialize ( ) : void

Called when initializing.

Private Methods

Méthode Description
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 ( ) : void
Résultat void

OnDeactivate() protected méthode

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

OnInitialize() protected méthode

Called when initializing.
protected OnInitialize ( ) : void
Résultat void

ReactiveScreen() public méthode

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

TryClose() public méthode

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