Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.JsonPropertyDictionary< T > Class Template Reference

Classes

class  KeyCollection
 
class  ValueCollection
 

Public Member Functions

 JsonPropertyDictionary (bool caseInsensitive)
 
 JsonPropertyDictionary (bool caseInsensitive, int capacity)
 
void Add (string propertyName, T value)
 
void Add (KeyValuePair< string, T > property)
 
bool TryAdd (string propertyName, T value)
 
void Clear ()
 
bool ContainsKey (string propertyName)
 
bool Contains (KeyValuePair< string, T > item)
 
void CopyTo (KeyValuePair< string, T >[] array, int index)
 
IEnumerator< KeyValuePair< string, T > > GetEnumerator ()
 
bool TryGetValue (string propertyName, out T value)
 
T SetValue (string propertyName, T value, Action assignParent=null)
 
KeyValuePair< string, T >? FindValue (T value)
 
bool TryGetPropertyValue (string propertyName, out T value)
 
bool TryRemoveProperty (string propertyName, out T existing)
 
ICollection< stringGetKeyCollection ()
 
ICollection< TGetValueCollection ()
 

Properties

List< KeyValuePair< string, T > > List [get]
 
int Count [get]
 
ICollection< stringKeys [get]
 
ICollection< TValues [get]
 
bool IsReadOnly [get]
 
T this[string propertyName] [get, set]
 

Private Member Functions

void AddValue (string propertyName, T value)
 
bool TryAddValue (string propertyName, T value)
 
void CreateDictionaryIfThresholdMet ()
 
bool ContainsValue (T value)
 
bool ContainsProperty (string propertyName)
 
int FindValueIndex (string propertyName)
 

Private Attributes

Dictionary< string, T_propertyDictionary
 
readonly List< KeyValuePair< string, T > > _propertyList
 
StringComparer _stringComparer
 
KeyCollection _keyCollection
 
ValueCollection _valueCollection
 

Detailed Description

Type Constraints
T :class 

Definition at line 6 of file JsonPropertyDictionary.cs.


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