Show / Hide Table of Contents

Class Dispatcher

Inheritance
object
Dispatcher
UIDispatcher
WorkerDispatcher
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public abstract class Dispatcher : IDisposable

Properties

Current

Declaration
public static Dispatcher Current { get; }
Property Value
Type Description
Dispatcher

IsAttached

Declaration
public static bool IsAttached { get; }
Property Value
Type Description
bool

IsDisposed

Declaration
public bool IsDisposed { get; }
Property Value
Type Description
bool

Methods

AttachUIDispatcher()

Attaches the UIDispatcher

Declaration
public static UIDispatcher AttachUIDispatcher()
Returns
Type Description
UIDispatcher
Remarks

The UIDispatcher is not included in the NET5 version of the SDK since NET5 is supports multi platforms and the SDK UI dispatcher is Windows specific.The application developer can write their own dispatcher to push messages to the ui thread that works for the OS on which they plan to run the application.

AttachWorkerDispatcher()

Declaration
public static WorkerDispatcher AttachWorkerDispatcher()
Returns
Type Description
WorkerDispatcher

CheckAccess()

Declaration
public bool CheckAccess()
Returns
Type Description
bool

DispatchAction(Action)

Declaration
public abstract void DispatchAction(Action action)
Parameters
Type Name Description
Action action

Dispose()

Declaration
public void Dispose()

Invoke(Action)

Declaration
public abstract void Invoke(Action action)
Parameters
Type Name Description
Action action

InvokeRequired()

Declaration
public virtual bool InvokeRequired()
Returns
Type Description
bool

Shutdown()

Declaration
public abstract void Shutdown()

VerifyAccess()

Declaration
public void VerifyAccess()

Implements

IDisposable
In this article
Back to top