Namespace Sdl.Core.Bcm.BcmModel.Collections
Classes
DictionaryEx<TKey, TValue>
A dictionary with support for:
- deep Equals (instead of ref comparison)
- deep GetHashCode (2 refs with the same values will return the same hash code). The default dictionary returns hash code based on reference.
FileCollection
A dictionary-based collection of Files.
HashDictionaryInt<TKey, TValue>
A dictionary which uses hashes generated from the key to store items in a backing dictionary. We may look at generating long hashes eventually if there are many collisions detected.
KeyBasedCollection<TKey, TValue>
A KeyBasedCollection<TKey, TValue> implementation with support for deep equality.
ParagraphUnitCollection
A KeyBasedCollection<TKey, TValue> of ParagraphUnits. Adds support for setting the parent elements and additonal helper properties.
SegmentPairCollection
A collection of SegmentPairs. Adds support for indexing by segment number.