Qbservable.Range Method (IQbservableProvider, Int32, Int32, IScheduler)

Generates a queryable observable sequence of integral numbers within a specified range.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

public static IQbservable<int> Range(
	this IQbservableProvider provider,
	int start,
	int count,
	IScheduler scheduler
)

Parameters

provider
Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.
start
Type: System.Int32
The value of the first integer in the sequence.
count
Type: System.Int32
The number of sequential integers to generate.
scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to run the producer loop on.

Return Value

Type: System.Reactive.Linq.IQbservable<Int32>
A queryable observable sequence that contains a range of sequential integral numbers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show: