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)
Summary:
Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | CoreDispatcher | Dispatcher to schedule work on. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |
2. Overload¶
public CoreDispatcherScheduler(CoreDispatcher dispatcher, CoreDispatcherPriority priority)
Summary:
Constructs a CoreDispatcherScheduler that schedules units of work on the given CoreDispatcher with the given priority.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | CoreDispatcher | Dispatcher to schedule work on. |
priority | CoreDispatcherPriority | Priority for scheduled units of work. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |