Version 2.1.0.0

DoubleLookupDictionary<TFirstKey, TSecondKey, TValue> class

Namespace: Sirenix.Utilities
Assembly: Sirenix.Utilities
public class DoubleLookupDictionary<TFirstKey, TSecondKey, TValue> : Dictionary<TFirstKey, Dictionary<TSecondKey, TValue>>, IDictionary<TFirstKey, Dictionary<TSecondKey, TValue>>, ICollection<KeyValuePair<TFirstKey, Dictionary<TSecondKey, TValue>>>, IDictionary, ICollection, IReadOnlyDictionary<TFirstKey, Dictionary<TSecondKey, TValue>>, IReadOnlyCollection<KeyValuePair<TFirstKey, Dictionary<TSecondKey, TValue>>>, IEnumerable<KeyValuePair<TFirstKey, Dictionary<TSecondKey, TValue>>>, IEnumerable, ISerializable, IDeserializationCallback
Not yet documented.
Inheritance
  • System.Object
  • System.Collections.Generic.Dictionary<TFirstKey, System.Collections.Generic.Dictionary<TSecondKey, TValue>>
  • DoubleLookupDictionary<TFirstKey, TSecondKey, TValue>

Type Parameters

TFirstKey

TSecondKey

TValue

Constructors

DoubleLookupDictionary()
public DoubleLookupDictionary()
DoubleLookupDictionary(IEqualityComparer<TFirstKey>, IEqualityComparer<TSecondKey>)
public DoubleLookupDictionary(IEqualityComparer<TFirstKey> firstKeyComparer, IEqualityComparer<TSecondKey> secondKeyComparer)
Parameters
System.Collections.Generic.IEqualityComparer<TFirstKey> firstKeyComparer

System.Collections.Generic.IEqualityComparer<TSecondKey> secondKeyComparer

Properties

Item[TFirstKey]
Not yet documented.
public Dictionary<TSecondKey, TValue> this[TFirstKey firstKey] { get; }
Parameters
TFirstKey firstKey

Methods

AddInner(TFirstKey, TSecondKey, TValue)
Not yet documented.
public TValue AddInner(TFirstKey firstKey, TSecondKey secondKey, TValue value)
Parameters
TFirstKey firstKey

TSecondKey secondKey

TValue value

Returns
TValue

ContainsKeys(TFirstKey, TSecondKey)
Not yet documented.
public bool ContainsKeys(TFirstKey firstKey, TSecondKey secondKey)
Parameters
TFirstKey firstKey

TSecondKey secondKey

Returns
System.Boolean

InnerCount(TFirstKey)
Not yet documented.
public int InnerCount(TFirstKey firstKey)
Parameters
TFirstKey firstKey

Returns
System.Int32

RemoveInner(TFirstKey, TSecondKey)
Not yet documented.
public bool RemoveInner(TFirstKey firstKey, TSecondKey secondKey)
Parameters
TFirstKey firstKey

TSecondKey secondKey

Returns
System.Boolean

RemoveWhere(Func<TValue, Boolean>)
Not yet documented.
public void RemoveWhere(Func<TValue, bool> predicate)
Parameters
System.Func<TValue, System.Boolean> predicate

TotalInnerCount()
Not yet documented.
public int TotalInnerCount()
Returns
System.Int32

TryGetInnerValue(TFirstKey, TSecondKey, out TValue)
Not yet documented.
public bool TryGetInnerValue(TFirstKey firstKey, TSecondKey secondKey, out TValue value)
Parameters
TFirstKey firstKey

TSecondKey secondKey

TValue value

Returns
System.Boolean

Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.