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

Classes

struct  DictionaryEnumerator
 
class  KeyCollection
 
class  ValueCollection
 

Public Member Functions

 ReadOnlyDictionary (IDictionary< TKey, TValue > dictionary)
 
bool ContainsKey (TKey key)
 
bool TryGetValue (TKey key, [MaybeNullWhen(false)] out TValue value)
 
IEnumerator< KeyValuePair< TKey, TValue > > GetEnumerator ()
 
void Add (object key, object? value)
 
void Add (object key, object? value)
 

Properties

IDictionary< TKey, TValue > Dictionary [get]
 
KeyCollection Keys [get]
 
ValueCollection Values [get]
 
ICollection< TKey > IDictionary< TKey, TValue >. Keys [get]
 
ICollection< TValue > IDictionary< TKey, TValue >. Values [get]
 
TValue this[TKey key] [get]
 
TValue IDictionary< TKey, TValue >. this[TKey key] [get, set]
 
int Count [get]
 
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly [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]
 
IEnumerable< TKey > IReadOnlyDictionary< TKey, TValue >. Keys [get]
 
IEnumerable< TValue > IReadOnlyDictionary< TKey, TValue >. Values [get]
 

Private Member Functions

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

Static Private Member Functions

static bool IsCompatibleKey (object key)
 

Private Attributes

readonly IDictionary< TKey, TValue > m_dictionary
 
KeyCollection _keys
 
ValueCollection _values
 

Detailed Description

Type Constraints
TKey :notnull 

Definition at line 12 of file ReadOnlyDictionary.cs.


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