Click or drag to resize

IndexT1, T2 Class

A wrapped Dictionary, with a string key, for managing items so that they can be easily recovered when needed
Inheritance Hierarchy
SystemObject
  ImmerseSDKIndexT1, T2

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.5.0.0 (3.5.0.0)
Syntax
C#
public sealed class Index<T1, T2> : IEnumerable

Type Parameters

T1
Index type
T2
The type of item that should be indexed

The IndexT1, T2 type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Returns the number of items currently in the index
Public propertyValues
The indexed values
Top
Methods
  NameDescription
Public methodContains
Check if the index contains an item with the specified ID
Public methodContainsValue
Returns true if the dictionary contains the value specified
Public methodFind
Returns an item from the index with the specified id. If no item is found, default(T) is returned
Public methodFindAll
Find all the values that returns true for the predicate
Public methodForEach
Iterates over all the registered instances
Public methodGetEnumerator
Gets the enumerator
Public methodRegister
Registers an item with the index. If the key already exists, the current entry will be overwritten
Public methodRemove
Removes an item from the index. If no item is found, the request is ignored
Public methodToString
The name of the object
(Overrides ObjectToString.)
Top
See Also