Table of Contents

Interface IDispatcher

Namespace
Ecng.ComponentModel
Assembly
Ecng.ComponentModel.dll

Threads dispatcher.

public interface IDispatcher
Extension Methods

Methods

CheckAccess()

Verify that current thread is dispatcher thread.

bool CheckAccess()

Returns

bool

Operation result.

Invoke(Action)

Call action in dispatcher thread.

void Invoke(Action action)

Parameters

action Action

Action.

InvokeAsync(Action)

Call action in dispatcher thread.

void InvokeAsync(Action action)

Parameters

action Action

Action.