Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ComponentModel.PropertyDescriptorCollection Class Reference

Classes

class  PropertyDescriptorEnumerator
 

Public Member Functions

 PropertyDescriptorCollection (PropertyDescriptor[]? properties)
 
 PropertyDescriptorCollection (PropertyDescriptor[]? properties, bool readOnly)
 
int Add (PropertyDescriptor value)
 
void Clear ()
 
bool Contains (PropertyDescriptor value)
 
void CopyTo (Array array, int index)
 
virtual ? PropertyDescriptor Find (string name, bool ignoreCase)
 
int IndexOf (PropertyDescriptor? value)
 
void Insert (int index, PropertyDescriptor value)
 
void Remove (PropertyDescriptor? value)
 
void RemoveAt (int index)
 
virtual PropertyDescriptorCollection Sort ()
 
virtual PropertyDescriptorCollection Sort (string[]? names)
 
virtual PropertyDescriptorCollection Sort (string[]? names, IComparer? comparer)
 
virtual PropertyDescriptorCollection Sort (IComparer? comparer)
 
virtual IEnumerator GetEnumerator ()
 
void Add (T item)
 
bool Contains (T item)
 
void CopyTo (T[] array, int arrayIndex)
 
bool Remove (T item)
 
int IndexOf (T item)
 
void Insert (int index, T item)
 
bool ContainsKey (TKey key)
 
void Add (TKey key, TValue value)
 
bool Remove (TKey key)
 
bool TryGetValue (TKey key, [MaybeNullWhen(false)] out TValue value)
 

Static Public Attributes

static readonly PropertyDescriptorCollection Empty = new PropertyDescriptorCollection(null, readOnly: true)
 

Protected Member Functions

void InternalSort (string[]? names)
 
void InternalSort (IComparer? sorter)
 

Properties

int Count [get, private set]
 
virtual PropertyDescriptor this[int index] [get]
 
virtual ? PropertyDescriptor this[string name] [get]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 
int ICollection. Count [get]
 
bool IDictionary. IsFixedSize [get]
 
bool IDictionary. IsReadOnly [get]
 
object? IDictionary. this[object key] [get, set]
 
ICollection IDictionary. Keys [get]
 
ICollection IDictionary. Values [get]
 
bool IList. IsReadOnly [get]
 
bool IList. IsFixedSize [get]
 
object? IList. this[int index] [get, set]
 
TValue this[TKey key] [get, set]
 

Private Member Functions

 PropertyDescriptorCollection (PropertyDescriptor[] properties, int propCount, string[] namedSort, IComparer comparer)
 
void EnsurePropsOwned ()
 
void EnsureSize (int sizeNeeded)
 
void IList. Clear ()
 
void IDictionary. Clear ()
 
IEnumerator IEnumerable. GetEnumerator ()
 
void IList. RemoveAt (int index)
 
void IDictionary. Add (object key, object value)
 
bool IDictionary. Contains (object key)
 
IDictionaryEnumerator IDictionary. GetEnumerator ()
 
void IDictionary. Remove (object key)
 
int IList. Add (object value)
 
bool IList. Contains (object value)
 
int IList. IndexOf (object value)
 
void IList. Insert (int index, object value)
 
void IList. Remove (object value)
 

Private Attributes

IDictionary _cachedFoundProperties
 
bool _cachedIgnoreCase
 
PropertyDescriptor[] _properties
 
readonly string[] _namedSort
 
readonly IComparer _comparer
 
bool _propsOwned
 
bool _needSort
 
readonly bool _readOnly
 
readonly object _internalSyncObject = new object()
 

Detailed Description

Definition at line 6 of file PropertyDescriptorCollection.cs.


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