Slot() constructor¶
Defined in
Type: Slot
Namespace: ReactiveUI.Primitives.Disposables
Assembly: ReactiveUI.Disposables.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, net462, net481
Overloads¶
- 1.
public Slot() - 2.
public Slot(Action? action) - 3.
public Slot(IDisposable disposable) - 4.
public Slot(IDisposable disposable, Action? action)
1. Overload¶
public Slot()
Summary: Initializes a new instance of the Slot class.
2. Overload¶
public Slot(Action? action)
Summary: Initializes a new instance of the Slot class.
Parameters
| Name | Type | Description |
|---|---|---|
action | Action? | Action to call when the slot is disposed. |
3. Overload¶
public Slot(IDisposable disposable)
Summary: Initializes a new instance of the Slot class.
Parameters
| Name | Type | Description |
|---|---|---|
disposable | IDisposable | Initial disposable. |
4. Overload¶
public Slot(IDisposable disposable, Action? action)
Summary: Initializes a new instance of the Slot class.
Parameters
| Name | Type | Description |
|---|---|---|
disposable | IDisposable | Initial disposable. |
action | Action? | Action to call when the slot is disposed. |