Class ObservableObject.TaskNotifier<T>
- Namespace
- CommunityToolkit.Mvvm.ComponentModel
- Assembly
- CommunityToolkit.Mvvm.dll
A wrapping class that can hold a Task<TResult> value.
protected sealed class ObservableObject.TaskNotifier<T>
Type Parameters
T
The type of value for the wrapped Task<TResult> instance.
- Inheritance
-
ObservableObject.TaskNotifier<T>
- Inherited Members
Operators
implicit operator Task<T>?(TaskNotifier<T>?)
Unwraps the Task<TResult> value stored in the current instance.
public static implicit operator Task<T>?(ObservableObject.TaskNotifier<T>? notifier)
Parameters
notifier
ObservableObject.TaskNotifier<T>The input ObservableObject.TaskNotifier<T> instance.
Returns
- Task<T>