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

Classes

class  ArraySubsetEnumerator
 

Public Member Functions

 EventDescriptorCollection (EventDescriptor[]? events)
 
 EventDescriptorCollection (EventDescriptor[]? events, bool readOnly)
 
int Add (EventDescriptor? value)
 
void Clear ()
 
bool Contains (EventDescriptor? value)
 
virtual ? EventDescriptor Find (string name, bool ignoreCase)
 
int IndexOf (EventDescriptor? value)
 
void Insert (int index, EventDescriptor? value)
 
void Remove (EventDescriptor? value)
 
void RemoveAt (int index)
 
IEnumerator GetEnumerator ()
 
virtual EventDescriptorCollection Sort ()
 
virtual EventDescriptorCollection Sort (string[] names)
 
virtual EventDescriptorCollection Sort (string[] names, IComparer comparer)
 
virtual EventDescriptorCollection Sort (IComparer comparer)
 
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)
 

Static Public Attributes

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

Protected Member Functions

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

Properties

int Count [get, private set]
 
virtual ? EventDescriptor this[int index] [get]
 
virtual ? EventDescriptor this[string name] [get]
 
bool ICollection. IsSynchronized [get]
 
object ICollection. SyncRoot [get]
 
int ICollection. Count [get]
 
object? IList. this[int index] [get, set]
 
bool IList. IsReadOnly [get]
 
bool IList. IsFixedSize [get]
 

Private Member Functions

 EventDescriptorCollection (EventDescriptor[] events, int eventCount, string[] namedSort, IComparer comparer)
 
void ICollection. CopyTo (Array array, int index)
 
void EnsureEventsOwned ()
 
void EnsureSize (int sizeNeeded)
 
IEnumerator IEnumerable. GetEnumerator ()
 
int IList. Add (object value)
 
bool IList. Contains (object value)
 
void IList. Clear ()
 
int IList. IndexOf (object value)
 
void IList. Insert (int index, object value)
 
void IList. Remove (object value)
 
void IList. RemoveAt (int index)
 

Private Attributes

EventDescriptor[] _events
 
readonly string[] _namedSort
 
readonly IComparer _comparer
 
bool _eventsOwned
 
bool _needSort
 
readonly bool _readOnly
 

Detailed Description

Definition at line 6 of file EventDescriptorCollection.cs.


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