Skip to content

Applies to

net10.0, net9.0, net8.0, netstandard2.0, net462

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

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>The source IObservable&lt;ISortedChangeSet&lt;TObject, TKey&gt;&gt; to paginate.
virtualRequestsIObservableThe IObservable that controls which window of sorted items to include.

Returns: IObservable> -- An observable which will emit virtual change sets.

Exceptions

TypeCondition
System.ArgumentNullExceptionsource.