A lookup is used to cache e.g. elements by ID. They hugely increase lookup speed and are automatically created for high traffic attributes (like ID).
Public Member Functions | |
| AttributeLookup () | |
| void | Add (string key, Element ele) |
| Adds the given element to this lookup. More... | |
| bool | Remove (string key, Element ele) |
| Removes the given element value from this lookup. More... | |
Public Attributes | |
| Dictionary< string, AttributeLookupLink > | Lookup |
| The raw lookup. More... | |
Properties | |
| int | Count [get] |
| How many unique values are in this lookup? This is not the number of elements. More... | |
|
inline |
|
inline |
Adds the given element to this lookup.
|
inline |
Removes the given element value from this lookup.
| Dictionary<string,AttributeLookupLink> Dom.AttributeLookup.Lookup |
The raw lookup.
|
get |
How many unique values are in this lookup? This is not the number of elements.