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
public DoubleLookupDictionary()
public DoubleLookupDictionary(IEqualityComparer<TFirstKey> firstKeyComparer, IEqualityComparer<TSecondKey> secondKeyComparer)
System.Collections.Generic.IEqualityComparer<TFirstKey> | firstKeyComparer | |
System.Collections.Generic.IEqualityComparer<TSecondKey> | secondKeyComparer |
public Dictionary<TSecondKey, TValue> this[TFirstKey firstKey] { get; }
TFirstKey | firstKey |
public TValue AddInner(TFirstKey firstKey, TSecondKey secondKey, TValue value)
TFirstKey | firstKey | |
TSecondKey | secondKey | |
TValue | value |
TValue |
public bool ContainsKeys(TFirstKey firstKey, TSecondKey secondKey)
TFirstKey | firstKey | |
TSecondKey | secondKey |
System.Boolean |
public int InnerCount(TFirstKey firstKey)
TFirstKey | firstKey |
System.Int32 |
public bool RemoveInner(TFirstKey firstKey, TSecondKey secondKey)
TFirstKey | firstKey | |
TSecondKey | secondKey |
System.Boolean |
public void RemoveWhere(Func<TValue, bool> predicate)
System.Func<TValue, System.Boolean> | predicate |
public int TotalInnerCount()
System.Int32 |
public bool TryGetInnerValue(TFirstKey firstKey, TSecondKey secondKey, out TValue value)
TFirstKey | firstKey | |
TSecondKey | secondKey | |
TValue | value |
System.Boolean |