Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Dynamic.ExpandoObject Class Referencesealed

Classes

class  ExpandoData
 
class  KeyCollection
 
class  KeyCollectionDebugView
 
class  MetaExpando
 
class  ValueCollection
 
class  ValueCollectionDebugView
 

Public Member Functions

 ExpandoObject ()
 
bool ContainsKey (TKey key)
 
void Add (TKey key, TValue value)
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key,[MaybeNullWhen(false)] out TValue value)
 
void Add (T item)
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 

Package Functions

bool TryGetValue (object indexClass, int index, string name, bool ignoreCase, out object value)
 
void TrySetValue (object indexClass, int index, object value, string name, bool ignoreCase, bool add)
 
bool TryDeleteValue (object indexClass, int index, string name, bool ignoreCase, object deleteValue)
 
bool IsDeletedMember (int index)
 
void PromoteClass (object oldClass, object newClass)
 

Package Attributes

readonly object LockObject
 

Static Package Attributes

static readonly object Uninitialized = new object()
 

Properties

ExpandoClass Class [get]
 
ICollection< string > IDictionary< string, object >. Keys [get]
 
ICollection< object?> IDictionary< string, object >. Values [get]
 
object? IDictionary< string, object >. this[string key] [get, set]
 
int ICollection< KeyValuePair< string, object > >. Count [get]
 
bool ICollection< KeyValuePair< string, object > >. IsReadOnly [get]
 
PropertyChangedEventHandler? INotifyPropertyChanged. PropertyChanged
 
TValue this[TKey key] [get, set]
 

Private Member Functions

ExpandoData PromoteClassCore (ExpandoClass oldClass, ExpandoClass newClass)
 
DynamicMetaObject IDynamicMetaObjectProvider. GetMetaObject (Expression parameter)
 
void TryAddMember (string key, object value)
 
bool TryGetValueForKey (string key, out object value)
 
bool ExpandoContainsKey (string key)
 
void IDictionary< string, object >. Add (string key, object value)
 
bool IDictionary< string, object >. ContainsKey (string key)
 
bool IDictionary< string, object >. Remove (string key)
 
bool IDictionary< string, object >. TryGetValue (string key, out object value)
 
void ICollection< KeyValuePair< string, object > >. Add (KeyValuePair< string, object > item)
 
void ICollection< KeyValuePair< string, object > >. Clear ()
 
bool ICollection< KeyValuePair< string, object > >. Contains (KeyValuePair< string, object > item)
 
void ICollection< KeyValuePair< string, object > >. CopyTo (KeyValuePair< string, object >[] array, int arrayIndex)
 
bool ICollection< KeyValuePair< string, object > >. Remove (KeyValuePair< string, object > item)
 
IEnumerator< KeyValuePair< string, object > > IEnumerable< KeyValuePair< string, object > >. GetEnumerator ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
IEnumerator< KeyValuePair< string, object > > GetExpandoEnumerator (ExpandoData data, int version)
 

Private Attributes

ExpandoData _data
 
int _count
 
PropertyChangedEventHandler _propertyChanged
 

Static Private Attributes

static readonly MethodInfo s_expandoTryGetValue = typeof(RuntimeOps).GetMethod("ExpandoTryGetValue")
 
static readonly MethodInfo s_expandoTrySetValue = typeof(RuntimeOps).GetMethod("ExpandoTrySetValue")
 
static readonly MethodInfo s_expandoTryDeleteValue = typeof(RuntimeOps).GetMethod("ExpandoTryDeleteValue")
 
static readonly MethodInfo s_expandoPromoteClass = typeof(RuntimeOps).GetMethod("ExpandoPromoteClass")
 
static readonly MethodInfo s_expandoCheckVersion = typeof(RuntimeOps).GetMethod("ExpandoCheckVersion")
 

Detailed Description

Definition at line 12 of file ExpandoObject.cs.


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