IndexT1, T2 Class |
Namespace: ImmerseSDK
public sealed class Index<T1, T2> : IEnumerable
The IndexT1, T2 type exposes the following members.
Name | Description | |
---|---|---|
IndexT1, T2(String) |
Create new index
| |
IndexT1, T2(String, Boolean) |
Create new index
|
Name | Description | |
---|---|---|
Count |
Returns the number of items currently in the index
| |
Values |
The indexed values
|
Name | Description | |
---|---|---|
Contains |
Check if the index contains an item with the specified ID
| |
ContainsValue |
Returns true if the dictionary contains the value specified
| |
Find |
Returns an item from the index with the specified id. If no item is found, default(T) is returned
| |
FindAll |
Find all the values that returns true for the predicate
| |
ForEach |
Iterates over all the registered instances
| |
GetEnumerator |
Gets the enumerator
| |
Register |
Registers an item with the index. If the key already exists, the current entry will be overwritten
| |
Remove |
Removes an item from the index. If no item is found, the request is ignored
| |
ToString |
The name of the object
(Overrides ObjectToString.) |