C# Класс Open.Core.Common.ModelBase

The base class for models.
Наследование: NotifyPropertyChangedBase
Показать файл Открыть проект

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

Метод Описание
ModelBase ( ) : System

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

Метод Описание
BeginInvoke ( System.Action action ) : BackgroundWorker

Invokes an action asynchonously.

BeginInvoke ( System.Action action, System.Action onComplete ) : BackgroundWorker

Invokes an action asynchonously and then calls back when complete on the thread that began the invocation.

The callback will be invoked irrespective of whether the operation was cancelled via the BackgroundWorker object. If supporting cancellable operations, use your reference to the 'BackgroundWorker' to handle cancelled operations within the calling code.

BeginInvoke ( System.Action action, Action onComplete ) : BackgroundWorker

Invokes an action asynchonously and then calls back when complete on the thread that began the invocation.

The callback will be invoked irrespective of whether the operation was cancelled via the BackgroundWorker object. If supporting cancellable operations, use your reference to the 'BackgroundWorker' to handle cancelled operations within the calling code.

InvokeOnUiThread ( System.Action action ) : void

Invokes the given action on the UI thread synchronously.

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

Метод Описание
InvokeAsynchronous ( System.Action action, Action onComplete ) : BackgroundWorker
InvokeSynchronous ( System.Action action, Action onComplete ) : void
OnAsyncError ( AsyncCallbackArgs e ) : void
ProcessAction ( System.Action action ) : AsyncCallbackArgs

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

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

Invokes an action asynchonously.
protected BeginInvoke ( System.Action action ) : BackgroundWorker
action System.Action The action to invoke.
Результат System.ComponentModel.BackgroundWorker

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

Invokes an action asynchonously and then calls back when complete on the thread that began the invocation.
The callback will be invoked irrespective of whether the operation was cancelled via the BackgroundWorker object. If supporting cancellable operations, use your reference to the 'BackgroundWorker' to handle cancelled operations within the calling code.
protected BeginInvoke ( System.Action action, System.Action onComplete ) : BackgroundWorker
action System.Action The action to invoke.
onComplete System.Action The callback to invoke when complete.
Результат System.ComponentModel.BackgroundWorker

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

Invokes an action asynchonously and then calls back when complete on the thread that began the invocation.
The callback will be invoked irrespective of whether the operation was cancelled via the BackgroundWorker object. If supporting cancellable operations, use your reference to the 'BackgroundWorker' to handle cancelled operations within the calling code.
protected BeginInvoke ( System.Action action, Action onComplete ) : BackgroundWorker
action System.Action The action to invoke.
onComplete Action /// The callback to invoke when complete, including error state. /// Use the IsHandled property to prevent the error from being thrown. ///
Результат System.ComponentModel.BackgroundWorker

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

Invokes the given action on the UI thread synchronously.
protected InvokeOnUiThread ( System.Action action ) : void
action System.Action The action to invoke.
Результат void

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

public ModelBase ( ) : System
Результат System