,--0)} ,--0,System.Reactive.Concurrency.IScheduler)}
Qbservable.Prepend(IQbservable, TSource) method¶
Defined in
Type: Qbservable
Namespace: System.Reactive.Linq
Assembly: System.Reactive.dll
Applies to
netstandard2.0
Overloads¶
- 1.
public static IQbservable<TSource> Prepend<TSource>(this IQbservable<TSource> source, TSource value) - 2.
public static IQbservable<TSource> Prepend<TSource>(this IQbservable<TSource> source, TSource value, IScheduler scheduler)
1. Overload¶
public static IQbservable<TSource> Prepend<TSource>(this IQbservable<TSource> source, TSource value)
Summary: Prepend a value to an observable sequence.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | [IQbservable | Source sequence to prepend the value to. |
value | TSource | Value to prepend to the specified sequence. |
Returns: IQbservable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |
2. Overload¶
public static IQbservable<TSource> Prepend<TSource>(this IQbservable<TSource> source, TSource value, IScheduler scheduler)
Summary: Prepend a value to an observable sequence.
Type parameters
| Name | Description |
|---|---|
TSource | The type of the elements in the source sequence. |
Parameters
| Name | Type | Description |
|---|---|---|
source | [IQbservable | Source sequence to prepend the value to. |
value | TSource | Value to prepend to the specified sequence. |
scheduler | [IScheduler](# | Scheduler to emit the prepend values on. |
Returns: IQbservable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | source is null. |