Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Thread-safe object store with optional query keys over stored items.

API: engine
Implements: Inno.Core.Collections.IIndexedObjectStore
Inherits: object
Project: Inno.Core.Collections

public sealed class Inno.Core.Collections.IndexedObjectStore<T> where T : class : Inno.Core.Collections.IIndexedObjectStore

Type parameter T: The stored reference type.

Kind Element Description
Constructors IndexedObjectStore<T>.Constructor Creates an empty object store.
Methods IndexedObjectStore<T>.Add Adds an item to the store without indexing.
Methods IndexedObjectStore<T>.All Returns all stored items as a stable snapshot.
Methods IndexedObjectStore<T>.AllFast Returns all stored items as a lazy fail-fast enumerable.
Methods IndexedObjectStore<T>.Clear Clears all stored items and removes all defined keys.
Methods IndexedObjectStore<T>.DefineKey Defines a query key over stored items.
Methods IndexedObjectStore<T>.Find Finds items by key and returns a stable snapshot.
Methods IndexedObjectStore<T>.FindFast Finds items by key and returns a lazy fail-fast enumerable.
Methods IndexedObjectStore<T>.First Returns the first item by key or null if none exists.
Methods IndexedObjectStore<T>.GetAllKeys Gets all defined key names as a lazy enumerable.
Methods IndexedObjectStore<T>.Query Starts a query over stored items.
Methods IndexedObjectStore<T>.Remove Removes an item from the store and all keys.
Methods IndexedObjectStore<T>.RemoveAll Clears all stored items but keeps defined keys.
Methods IndexedObjectStore<T>.RemoveKey Removes a key previously defined on the store.
Methods IndexedObjectStore<T>.TryGetKey Gets a previously defined key by name.
Properties IndexedObjectStore<T>.count Number of stored items.