AsyncInfoObservableExtensions.ToObservableProgress(IAsyncActionWithProgress) method¶
Defined in
Type: AsyncInfoObservableExtensions
Namespace: System.Reactive.Windows.Foundation
Assembly: System.Reactive.dll
Applies to
net8.0-windows10.0.19041
Overloads¶
- 1.
public static IObservable<TProgress> ToObservableProgress<TProgress>(this IAsyncActionWithProgress<TProgress> source) - 2.
public static IObservable<TProgress> ToObservableProgress<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)
1. Overload¶
public static IObservable<TProgress> ToObservableProgress<TProgress>(this IAsyncActionWithProgress<TProgress> source)
Type parameters
| Name | Description |
|---|---|
TProgress | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IAsyncActionWithProgress<TProgress> | -- |
Returns: IObservable
2. Overload¶
public static IObservable<TProgress> ToObservableProgress<TResult, TProgress>(this IAsyncOperationWithProgress<TResult, TProgress> source)
Type parameters
| Name | Description |
|---|---|
TResult | -- |
TProgress | -- |
Parameters
| Name | Type | Description |
|---|---|---|
source | IAsyncOperationWithProgress<TResult, TProgress> | -- |
Returns: IObservable