Skip to content

CoreDispatcherScheduler(CoreDispatcher) constructor

Defined in

Type: CoreDispatcherScheduler Namespace: System.Reactive.Concurrency Assembly: ReactiveUI.Uno.WinUI.dll

Applies to

net8.0, net8.0-android34.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2

Overloads

  • 1. public CoreDispatcherScheduler(CoreDispatcher dispatcher)
  • 2. public CoreDispatcherScheduler(CoreDispatcher dispatcher, CoreDispatcherPriority priority)

1. Overload

public CoreDispatcherScheduler(CoreDispatcher dispatcher)

View source

Summary: Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher.

Parameters

NameTypeDescription
dispatcherCoreDispatcherDispatcher to schedule work on.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcher is null.

2. Overload

public CoreDispatcherScheduler(CoreDispatcher dispatcher, CoreDispatcherPriority priority)

View source

Summary: Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher with the given priority.

Parameters

NameTypeDescription
dispatcherCoreDispatcherDispatcher to schedule work on.
priorityCoreDispatcherPriorityPriority for scheduled units of work.

Exceptions

TypeCondition
System.ArgumentNullExceptiondispatcher is null.