Class InheritableDictionary<TKey, TValue\>
Last update: 16.07.2025Namespace: VM.Collections
Assembly: VM.dll
public abstract class InheritableDictionary<TKey, TValue> : Dictionary<TKey, TValue>
Type Parameters
TKey
TValue
Inheritance
object ← Dictionary<TKey, TValue> ← InheritableDictionary<TKey, TValue>
Constructors
InheritableDictionary()
public InheritableDictionary()
InheritableDictionary(int)
public InheritableDictionary(int capacity)
Parameters
capacity int
InheritableDictionary(IEqualityComparer<TKey>)
public InheritableDictionary(IEqualityComparer<TKey> comparer)
Parameters
comparer IEqualityComparer<TKey>
InheritableDictionary(int, IEqualityComparer<TKey>)
public InheritableDictionary(int capacity, IEqualityComparer<TKey> comparer)
Parameters
capacity int
comparer IEqualityComparer<TKey>
InheritableDictionary(IDictionary<TKey, TValue>)
public InheritableDictionary(IDictionary<TKey, TValue> dictionary)
Parameters
dictionary IDictionary<TKey, TValue>
InheritableDictionary(IDictionary<TKey, TValue>, IEqualityComparer<TKey>)
public InheritableDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey> comparer)
Parameters
dictionary IDictionary<TKey, TValue>
comparer IEqualityComparer<TKey>
InheritableDictionary(SerializationInfo, StreamingContext)
protected InheritableDictionary(SerializationInfo serializationInfo, StreamingContext streamingContext)
Parameters
serializationInfo SerializationInfo
streamingContext StreamingContext
Properties
this[TKey]
public TValue this[TKey key] { get; set; }
Property Value
TValue
Methods
Add(TKey, TValue)
public void Add(TKey key, TValue value)
Parameters
key TKey
value TValue
AddItem(TKey, TValue)
protected virtual void AddItem(TKey key, TValue value)
Parameters
key TKey
value TValue
Clear()
public void Clear()
ClearItems()
protected virtual void ClearItems()
Remove(TKey)
public bool Remove(TKey key)
Parameters
key TKey
Returns
RemoveItem(TKey)
protected virtual bool RemoveItem(TKey key)
Parameters
key TKey