Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Generic.SortedDictionary< TKey, TValue > Class Template Reference

Classes

struct  Enumerator
 
class  KeyCollection
 
class  KeyValuePairComparer
 
class  ValueCollection
 

Public Member Functions

 SortedDictionary ()
 
 SortedDictionary (IDictionary< TKey, TValue > dictionary)
 
 SortedDictionary (IDictionary< TKey, TValue > dictionary, IComparer< TKey >? comparer)
 
 SortedDictionary (IComparer< TKey >? comparer)
 
void Add (TKey key, TValue value)
 
void Clear ()
 
bool ContainsKey (TKey key)
 
bool ContainsValue (TValue value)
 
void CopyTo (KeyValuePair< TKey, TValue >[] array, int index)
 
Enumerator GetEnumerator ()
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key, [MaybeNullWhen(false)] out TValue value)
 
void Add (T item)
 
bool Remove (T item)
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 

Properties

bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly [get]
 
TValue this[TKey key] [get, set]
 
int Count [get]
 
IComparer< TKey > Comparer [get]
 
KeyCollection Keys [get]
 
ICollection< TKey > IDictionary< TKey, TValue >. Keys [get]
 
IEnumerable< TKey > IReadOnlyDictionary< TKey, TValue >. Keys [get]
 
ValueCollection Values [get]
 
ICollection< TValue > IDictionary< TKey, TValue >. Values [get]
 
IEnumerable< TValue > IReadOnlyDictionary< TKey, TValue >. Values [get]
 
bool IDictionary. IsFixedSize [get]
 
bool IDictionary. IsReadOnly [get]
 
ICollection IDictionary. Keys [get]
 
ICollection IDictionary. Values [get]
 
object? IDictionary. this[object key] [get, set]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 

Private Member Functions

void ICollection< KeyValuePair< TKey, TValue > >. Add (KeyValuePair< TKey, TValue > keyValuePair)
 
bool ICollection< KeyValuePair< TKey, TValue > >. Contains (KeyValuePair< TKey, TValue > keyValuePair)
 
bool ICollection< KeyValuePair< TKey, TValue > >. Remove (KeyValuePair< TKey, TValue > keyValuePair)
 
IEnumerator< KeyValuePair< TKey, TValue > > IEnumerable< KeyValuePair< TKey, TValue > >. GetEnumerator ()
 
void ICollection. CopyTo (Array array, int index)
 
void IDictionary. Add (object key, object value)
 
bool IDictionary. Contains (object key)
 
IDictionaryEnumerator IDictionary. GetEnumerator ()
 
void IDictionary. Remove (object key)
 
IEnumerator IEnumerable. GetEnumerator ()
 

Static Private Member Functions

static bool IsCompatibleKey (object key)
 

Private Attributes

KeyCollection _keys
 
ValueCollection _values
 
readonly TreeSet< KeyValuePair< TKey, TValue > > _set
 

Detailed Description

Type Constraints
TKey :notnull 

Definition at line 11 of file SortedDictionary.cs.


The documentation for this class was generated from the following file: