Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.Builder Class Referencesealed

Public Member Functions

void AddRange (IEnumerable< KeyValuePair< TKey, TValue > > items)
 
void RemoveRange (IEnumerable< TKey > keys)
 
Enumerator GetEnumerator ()
 
TValue? GetValueOrDefault (TKey key)
 
TValue GetValueOrDefault (TKey key, TValue defaultValue)
 
ImmutableDictionary< TKey, TValue > ToImmutable ()
 
void Add (TKey key, TValue value)
 
bool ContainsKey (TKey key)
 
bool ContainsValue (TValue value)
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key, [MaybeNullWhen(false)] out TValue value)
 
bool TryGetKey (TKey equalKey, out TKey actualKey)
 
void Add (KeyValuePair< TKey, TValue > item)
 
void Clear ()
 
bool Contains (KeyValuePair< TKey, TValue > item)
 
bool Remove (KeyValuePair< TKey, TValue > item)
 
void Add (object key, object? value)
 
void Add (object key, object? value)
 

Package Functions

 Builder (ImmutableDictionary< TKey, TValue > map)
 

Properties

IEqualityComparer< TKey > KeyComparer [get, set]
 
IEqualityComparer< TValue > ValueComparer [get, set]
 
int Count [get]
 
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly [get]
 
IEnumerable< TKey > Keys [get]
 
ICollection< TKey > IDictionary< TKey, TValue >. Keys [get]
 
IEnumerable< TValue > Values [get]
 
ICollection< TValue > IDictionary< TKey, TValue >. Values [get]
 
bool IDictionary. IsFixedSize [get]
 
bool IDictionary. IsReadOnly [get]
 
ICollection IDictionary. Keys [get]
 
ICollection IDictionary. Values [get]
 
object ICollection. SyncRoot [get]
 
bool ICollection. IsSynchronized [get]
 
object? IDictionary. this[object key] [get, set]
 
int Version [get]
 
MutationInput Origin [get]
 
SortedInt32KeyNode< HashBucketRoot [get, set]
 
TValue this[TKey key] [get, set]
 

Private Member Functions

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

Private Attributes

SortedInt32KeyNode< HashBucket_root = SortedInt32KeyNode<HashBucket>.EmptyNode
 
Comparers _comparers
 
int _count
 
ImmutableDictionary< TKey, TValue > _immutable
 
int _version
 
object _syncRoot
 

Detailed Description

Definition at line 141 of file ImmutableDictionary.cs.


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