C# Class ReactiveCaliburn.ReactiveViewAware

Inheritance: ReactivePropertyChangedBase, IViewAware
Afficher le fichier Open project: TheAngryByrd/MetroPass

Méthodes publiques

Свойство Type Description
CacheViewsByDefault bool

Protected Properties

Свойство Type Description
Views object>.Dictionary

Méthodes publiques

Méthode Description
GetView ( object context = null ) : object

Gets a view previously attached to this instance.

ReactiveViewAware ( ) : System

Creates an instance of ReactiveViewAware.

ReactiveViewAware ( bool cacheViews ) : System

Creates an instance of ReactiveViewAware.

Méthodes protégées

Méthode Description
OnViewAttached ( object view, object context ) : System.Threading.Tasks.Task

Called when a view is attached.

OnViewLoaded ( object view ) : System.Threading.Tasks.Task

Called when an attached view's Loaded event fires.

OnViewReady ( object view ) : System.Threading.Tasks.Task

Called the first time the page's LayoutUpdated event fires after it is navigated to.

Private Methods

Méthode Description
IViewAware ( object view ) : void
IViewAware ( object view, object context ) : void

Method Details

GetView() public méthode

Gets a view previously attached to this instance.
public GetView ( object context = null ) : object
context object The context denoting which view to retrieve.
Résultat object

OnViewAttached() protected méthode

Called when a view is attached.
protected OnViewAttached ( object view, object context ) : System.Threading.Tasks.Task
view object The view.
context object The context in which the view appears.
Résultat System.Threading.Tasks.Task

OnViewLoaded() protected méthode

Called when an attached view's Loaded event fires.
protected OnViewLoaded ( object view ) : System.Threading.Tasks.Task
view object
Résultat System.Threading.Tasks.Task

OnViewReady() protected méthode

Called the first time the page's LayoutUpdated event fires after it is navigated to.
protected OnViewReady ( object view ) : System.Threading.Tasks.Task
view object
Résultat System.Threading.Tasks.Task

ReactiveViewAware() public méthode

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

ReactiveViewAware() public méthode

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( bool cacheViews ) : System
cacheViews bool Indicates whether or not this instance maintains a view cache.
Résultat System

Property Details

CacheViewsByDefault public_oe static_oe property

Indicates whether or not implementors of IViewAware should cache their views by default.
public static bool CacheViewsByDefault
Résultat bool

Views protected_oe property

The view chache for this instance.
protected Dictionary Views
Résultat object>.Dictionary