DispatcherProvider Class

Definition

A provider that can supply a IDispatcher implementation for the current UI thread.

public ref class DispatcherProvider : Microsoft::Maui::Dispatching::IDispatcherProvider
public class DispatcherProvider : Microsoft.Maui.Dispatching.IDispatcherProvider
type DispatcherProvider = class
    interface IDispatcherProvider
Public Class DispatcherProvider
Implements IDispatcherProvider
Inheritance
DispatcherProvider
Implements

Constructors

DispatcherProvider()

Properties

Current

Gets the currently set IDispatcherProvider instance.

Methods

GetForCurrentThread()

Gets a IDispatcher implementation for the current UI thread.

SetCurrent(IDispatcherProvider)

Sets the current dispatcher provider.

Applies to