C# Class ChatterBox.Client.Presentation.Shared.MVVM.DispatcherBindableBase

Provides ability to run the UI updates in UI thread.
Inheritance: BindableBase
Show file Open project: openpeer/ChatterBox

Protected Properties

Property Type Description
_uiDispatcher Windows.UI.Core.CoreDispatcher

Protected Methods

Method Description
DispatcherBindableBase ( CoreDispatcher uiDispatcher ) : System

Creates a DispatcherBindableBase instance.

OnPropertyChanged ( string propertyName ) : void

Overrides the BindableBase's OnPropertyChanged method.

RunOnUiThread ( System.Action fn ) : void

Schedules the provided callback on the UI thread from a worker thread, and

Method Details

DispatcherBindableBase() protected method

Creates a DispatcherBindableBase instance.
protected DispatcherBindableBase ( CoreDispatcher uiDispatcher ) : System
uiDispatcher Windows.UI.Core.CoreDispatcher Core event message dispatcher.
return System

OnPropertyChanged() protected method

Overrides the BindableBase's OnPropertyChanged method.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string The name of the changed property.
return void

RunOnUiThread() protected method

Schedules the provided callback on the UI thread from a worker thread, and
protected RunOnUiThread ( System.Action fn ) : void
fn System.Action The function to execute
return void

Property Details

_uiDispatcher protected property

protected CoreDispatcher,Windows.UI.Core _uiDispatcher
return Windows.UI.Core.CoreDispatcher