Lezen in het Engels

Delen via


DispatcherProvider Class

Definition

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

C#
public class DispatcherProvider : Microsoft.Maui.Dispatching.IDispatcherProvider
Inheritance
DispatcherProvider
Implements

Constructors

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

Product Versies
.NET MAUI 8, 9