Skip to content

,--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

NameDescription
TSourceThe type of the elements in the source sequence.

Parameters

NameTypeDescription
source[IQbservable](#Source sequence to prepend the value to.
valueTSourceValue to prepend to the specified sequence.

Returns: IQbservable -- The source sequence prepended with the specified value.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource 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

NameDescription
TSourceThe type of the elements in the source sequence.

Parameters

NameTypeDescription
source[IQbservable](#Source sequence to prepend the value to.
valueTSourceValue to prepend to the specified sequence.
scheduler[IScheduler](#Scheduler to emit the prepend values on.

Returns: IQbservable -- The source sequence prepended with the specified value.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource is null.