Class InheritingDictinary<TKey, TValue>
Ein Dictionary, das von einem anderen Dictionary erben kann
Inheritance
System.Object
InheritingDictinary<TKey, TValue>
Assembly: GCore.dll
Syntax
public class InheritingDictinary<TKey, TValue> : IDictionary<TKey, TValue>
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Constructors
|
Improve this Doc
View Source
InheritingDictinary()
Declaration
public InheritingDictinary()
|
Improve this Doc
View Source
InheritingDictinary(IDictionary<TKey, TValue>)
Declaration
public InheritingDictinary(IDictionary<TKey, TValue> dict)
Parameters
Type |
Name |
Description |
IDictionary<TKey, TValue> |
dict |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Depth
Declaration
public int Depth { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
InheritedDictionary
das Dictionary von dem geerbt wird
Declaration
public IDictionary<TKey, TValue> InheritedDictionary { get; set; }
Property Value
Type |
Description |
IDictionary<TKey, TValue> |
|
|
Improve this Doc
View Source
InnerDictionary
Declaration
public IDictionary<TKey, TValue> InnerDictionary { get; }
Property Value
Type |
Description |
IDictionary<TKey, TValue> |
|
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Item[TKey]
Declaration
public TValue this[TKey key] { get; set; }
Parameters
Type |
Name |
Description |
TKey |
key |
|
Property Value
|
Improve this Doc
View Source
Keys
Declaration
public ICollection<TKey> Keys { get; }
Property Value
Type |
Description |
ICollection<TKey> |
|
|
Improve this Doc
View Source
Values
Declaration
public ICollection<TValue> Values { get; }
Property Value
Type |
Description |
ICollection<TValue> |
|
Methods
|
Improve this Doc
View Source
Add(TKey, TValue)
Declaration
public void Add(TKey key, TValue value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TValue |
value |
|
|
Improve this Doc
View Source
Add(KeyValuePair<TKey, TValue>)
Declaration
public void Add(KeyValuePair<TKey, TValue> item)
Parameters
Type |
Name |
Description |
KeyValuePair<TKey, TValue> |
item |
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Contains(KeyValuePair<TKey, TValue>)
Declaration
public bool Contains(KeyValuePair<TKey, TValue> item)
Parameters
Type |
Name |
Description |
KeyValuePair<TKey, TValue> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ContainsKey(TKey)
Declaration
public bool ContainsKey(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CopyTo(KeyValuePair<TKey, TValue>[], Int32)
Declaration
public void CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
KeyValuePair<TKey, TValue>[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Improve this Doc
View Source
DepthOfKey(TKey)
Gibt die Vererbungstiefe des Schl?ssels zur?ck
Declaration
public int DepthOfKey(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
Schl?ssel f?r das Dictionary
|
Returns
Type |
Description |
System.Int32 |
Vererbungstiefe
|
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator()
Returns
Type |
Description |
IEnumerator<KeyValuePair<TKey, TValue>> |
|
|
Improve this Doc
View Source
Remove(TKey)
Declaration
public bool Remove(TKey key)
Parameters
Type |
Name |
Description |
TKey |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Remove(KeyValuePair<TKey, TValue>)
Declaration
public bool Remove(KeyValuePair<TKey, TValue> item)
Parameters
Type |
Name |
Description |
KeyValuePair<TKey, TValue> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryGetValue(TKey, out TValue)
Declaration
public bool TryGetValue(TKey key, out TValue value)
Parameters
Type |
Name |
Description |
TKey |
key |
|
TValue |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods