Skip to content

,System.String,System.IObservable{--0[]},System.Reactive.Concurrency.IScheduler,System.TimeSpan)}

DynamicSecondaryIndexDictionaryReactiveView.Create(QuaternaryDictionary, string, IObservable, IScheduler, TimeSpan) method

Defined in

Type: DynamicSecondaryIndexDictionaryReactiveView Namespace: ReactiveList.Reactive.Views Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public static DynamicSecondaryIndexDictionaryReactiveView<TKey, TValue> Create<TIndexKey>(QuaternaryDictionary<TKey, TValue> source, string indexName, IObservable<TIndexKey[]> keysObservable, IScheduler scheduler, TimeSpan throttle) where TIndexKey : notnull

View source (opens in a new tab)

Summary: Creates a typed instance of DynamicSecondaryIndexDictionaryReactiveView for dynamic secondary index keys.

Type parameters

NameDescription
TIndexKeyThe type of the secondary index key.

Parameters

NameTypeDescription
sourceQuaternaryDictionaryThe source dictionary to filter.
indexNamestring (opens in a new tab)The name of the secondary index.
keysObservableIObservable (opens in a new tab)An observable of key arrays to filter by.
schedulerISchedulerThe scheduler for dispatching updates.
throttleTimeSpan (opens in a new tab)The quiet period before reconciling indexed entries; zero dispatches without debounce.

Returns: DynamicSecondaryIndexDictionaryReactiveView -- A DynamicSecondaryIndexDictionaryReactiveView instance.