ISecondaryIndex interface¶
Defined in
Namespace: ReactiveList.Reactive.Core
Assembly: ReactiveList.Reactive.dll
Full name: ReactiveList.Reactive.Core.ISecondaryIndex<T>
Modifiers: public abstract
Summary¶
Defines methods for maintaining a secondary index that tracks changes to a collection of items.
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Remarks¶
Implementations of this interface are notified when items are added, removed, or updated in the primary collection, allowing the secondary index to stay synchronized. This interface is typically used to support efficient lookups or queries based on alternative keys or properties.
Methods¶
| Name | Summary |
|---|---|
| OnAdded | Handles logic to be performed when an item is added. |
| OnRemoved | Called when an item is removed from the collection. |
| OnUpdated | Handles an update event by providing the previous and current values of the item. |
| Clear | Removes all items from the collection. |
| MatchesKey | Determines whether the specified item's key matches the provided key object. |