Table of Contents

Method Generate

Namespace
Bonsai.Reactive
Assembly
Bonsai.Core.dll

Generate()

Generates an observable sequence of integer numbers within a specified range.

public override IObservable<int> Generate()

Returns

IObservable<int>

An observable sequence that contains a range of sequential integer numbers.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of integer numbers within a specified range whenever the source sequence emits a notification.

public IObservable<int> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The source sequence used to generate the range.

Returns

IObservable<int>

An observable sequence that generates a range of sequential integer numbers whenever the source emits a notification.

Type Parameters

TSource

The type of the elements in the source sequence.