C# Класс Caliburn.Micro.ReactiveUI.ReactiveScreen

A base implementation of IScreen.
Наследование: ReactiveViewAware, IScreen, IChild
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
OnActivate ( ) : void

Called when activating.

OnDeactivate ( bool close ) : void

Called when deactivating.

OnInitialize ( ) : void

Called when initializing.

Приватные методы

Метод Описание
IActivate ( ) : void
IDeactivate ( bool close ) : void

Описание методов

CanClose() публичный Метод

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.
Результат void

OnActivate() защищенный Метод

Called when activating.
protected OnActivate ( ) : void
Результат void

OnDeactivate() защищенный Метод

Called when deactivating.
protected OnDeactivate ( bool close ) : void
close bool Inidicates whether this instance will be closed.
Результат void

OnInitialize() защищенный Метод

Called when initializing.
protected OnInitialize ( ) : void
Результат void

ReactiveScreen() публичный Метод

Creates an instance of ReactiveScreen.
public ReactiveScreen ( ) : ReactiveUI
Результат ReactiveUI

TryClose() публичный Метод

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.
Результат void