C# Class Caliburn.Micro.ReactiveUI.ReactiveViewAware

A base implementation of IViewAware which is capable of caching views by context.
Inheritance: Caliburn.Micro.ReactiveUI.ReactivePropertyChangedBase, IViewAware
Afficher le fichier Open project: dchaib/Caliburn.Micro.ReactiveUI

Méthodes publiques

Свойство Type Description
DefaultContext object

Protected Properties

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

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.

Méthodes protégées

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

Called when a view is attached.

OnViewLoaded ( object view ) : void

Called when an attached view's Loaded event fires.

OnViewReady ( object view ) : void

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

Private Methods

Méthode Description
AttachViewReadyOnActivated ( IActivate activatable, object nonGeneratedView ) : 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 ) : void
view object The view.
context object The context in which the view appears.
Résultat void

OnViewLoaded() protected méthode

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

OnViewReady() protected méthode

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

ReactiveViewAware() public méthode

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

Property Details

DefaultContext public_oe static_oe property

The default view context.
public static object DefaultContext
Résultat object

Views protected_oe property

The view cache for this instance.
protected IDictionary Views
Résultat object>.IDictionary