C# Class ReactiveCaliburn.ReactiveViewAware

Inheritance: ReactivePropertyChangedBase, IViewAware
ファイルを表示 Open project: TheAngryByrd/MetroPass

Public Properties

Property Type Description
CacheViewsByDefault bool

Protected Properties

Property Type Description
Views object>.Dictionary

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
IViewAware ( object view ) : void
IViewAware ( object view, object context ) : void

Method Details

GetView() public method

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

OnViewAttached() protected method

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.
return System.Threading.Tasks.Task

OnViewLoaded() protected method

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

OnViewReady() protected method

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
return System.Threading.Tasks.Task

ReactiveViewAware() public method

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( ) : System
return System

ReactiveViewAware() public method

Creates an instance of ReactiveViewAware.
public ReactiveViewAware ( bool cacheViews ) : System
cacheViews bool Indicates whether or not this instance maintains a view cache.
return 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
return bool

Views protected_oe property

The view chache for this instance.
protected Dictionary Views
return object>.Dictionary