AvaloniaScheduler(Dispatcher) constructor¶
Defined in
Type: AvaloniaScheduler
Namespace: ReactiveUI.Primitives.Concurrency
Assembly: ReactiveUI.Primitives.Avalonia.dll
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471
Overloads¶
- 1.
public AvaloniaScheduler(Dispatcher dispatcher) - 2.
public AvaloniaScheduler(Dispatcher dispatcher, DispatcherPriority priority)
1. Overload¶
public AvaloniaScheduler(Dispatcher dispatcher)
Summary: Initializes a new instance of the AvaloniaScheduler class.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | Dispatcher | The dispatcher used to marshal work to the UI thread. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |
2. Overload¶
public AvaloniaScheduler(Dispatcher dispatcher, DispatcherPriority priority)
Summary: Initializes a new instance of the AvaloniaScheduler class.
Parameters
| Name | Type | Description |
|---|---|---|
dispatcher | Dispatcher | The dispatcher used to marshal work to the UI thread. |
priority | DispatcherPriority | Dispatcher priority used for posted drains and delayed work. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | dispatcher is null. |