Skip to content

IDispatcherService interface

Marshals work onto the UI thread, so that view model code can update the UI without referencing the UI framework dispatcher directly.

Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts

Declaration

public interface IDispatcherService

Methods

name description
CheckAccess() Returns whether the calling thread is the UI thread.
Post(…) Queues the action to run on the UI thread and returns immediately.

See Also