Skip to content

Applies to

net10.0, netstandard2.0

Deprecated

Use SortAndVirtualize as it's more efficient

Attributes: [Obsolete("Use SortAndVirtualize as it's more efficient")]

public static IObservable<IVirtualChangeSet<TObject, TKey>> Virtualise<TObject, TKey>(this IObservable<ISortedChangeSet<TObject, TKey>> source, IObservable<IVirtualRequest> virtualRequests) where TObject : notnull where TKey : notnull

View source (opens in a new tab)

Summary: Virtualises the underlying data from the specified source.

Type parameters

NameDescription
TObjectThe type of the object.
TKeyThe type of the key.

Parameters

NameTypeDescription
sourceIObservable> (opens in a new tab)The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to paginate.
virtualRequestsIObservable (opens in a new tab)The IObservable (opens in a new tab) that controls which window of sorted items to include.

Returns: IObservable> (opens in a new tab) -- An observable which will emit virtual change sets.

Exceptions

TypeCondition
System.ArgumentNullException (opens in a new tab)source.