C# Class TheChan.Common.Core.Tab

Inheritance: Caliburn.Micro.ViewAware, IHaveDisplayName, IActivateWithParameter, IDeactivate, IGuardClose, IChild
Afficher le fichier Open project: acedened/TheChan

Méthodes publiques

Méthode Description
CanClose ( Action callback ) : void

Called to check whether or not this instance can close.

Deactivate ( bool close ) : void

Deactivates this instance.

RequestDeactivating ( ) : bool
TryClose ( bool dialogResult ) : void

Tries to close this instance. Also provides an opportunity to pass a dialog result to it's corresponding view.

Méthodes protégées

Méthode Description
OnActivate ( object parameter = null ) : void
OnDeactivate ( bool close ) : void
OnInitialize ( ) : void
Tab ( ) : System
Translate ( string id ) : string

Private Methods

Méthode Description
IActivateWithParameter ( object parameter ) : 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 implementer calls this action with the result of the close check.
Résultat void

Deactivate() public méthode

Deactivates this instance.
public Deactivate ( bool close ) : void
close bool Indicates whether or not this instance is being closed.
Résultat void

OnActivate() protected méthode

protected OnActivate ( object parameter = null ) : void
parameter object
Résultat void

OnDeactivate() protected méthode

protected OnDeactivate ( bool close ) : void
close bool
Résultat void

OnInitialize() protected méthode

protected OnInitialize ( ) : void
Résultat void

RequestDeactivating() public méthode

public RequestDeactivating ( ) : bool
Résultat bool

Tab() protected méthode

protected Tab ( ) : System
Résultat System

Translate() protected méthode

protected Translate ( string id ) : string
id string
Résultat string

TryClose() public méthode

Tries to close this instance. 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