Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
class | SimpleMonitor |
Public Member Functions | |
ObservableCollection () | |
ObservableCollection (IEnumerable< T > collection) | |
ObservableCollection (List< T > list) | |
void | Move (int oldIndex, int newIndex) |
void | Add (T item) |
int | Add (object? value) |
int | Add (object? value) |
void | Clear () |
void | CopyTo (T[] array, int index) |
bool | Contains (T item) |
bool | Contains (object? value) |
bool | Contains (object? value) |
IEnumerator< T > | GetEnumerator () |
int | IndexOf (T item) |
int | IndexOf (object? value) |
int | IndexOf (object? value) |
void | Insert (int index, T item) |
void | Insert (int index, object? value) |
void | Insert (int index, object? value) |
bool | Remove (T item) |
void | Remove (object? value) |
void | Remove (object? value) |
void | RemoveAt (int index) |
Protected Member Functions | |
override void | ClearItems () |
override void | RemoveItem (int index) |
override void | InsertItem (int index, T item) |
override void | SetItem (int index, T item) |
virtual void | MoveItem (int oldIndex, int newIndex) |
virtual void | OnPropertyChanged (PropertyChangedEventArgs e) |
virtual void | OnCollectionChanged (NotifyCollectionChangedEventArgs e) |
IDisposable | BlockReentrancy () |
void | CheckReentrancy () |
Properties | |
PropertyChangedEventHandler? INotifyPropertyChanged. | PropertyChanged |
int | Count [get] |
IList< T > | Items [get] |
T | this[int index] [get, set] |
object? IList. | this[int index] [get, set] |
bool ICollection< T >. | IsReadOnly [get] |
bool IList. | IsReadOnly [get] |
bool ICollection. | IsSynchronized [get] |
object ICollection. | SyncRoot [get] |
bool IList. | IsFixedSize [get] |
Events | |
virtual ? NotifyCollectionChangedEventHandler | CollectionChanged |
virtual ? PropertyChangedEventHandler | PropertyChanged |
Private Member Functions | |
void | OnCountPropertyChanged () |
void | OnIndexerPropertyChanged () |
void | OnCollectionChanged (NotifyCollectionChangedAction action, object item, int index) |
void | OnCollectionChanged (NotifyCollectionChangedAction action, object item, int index, int oldIndex) |
void | OnCollectionChanged (NotifyCollectionChangedAction action, object oldItem, object newItem, int index) |
void | OnCollectionReset () |
SimpleMonitor | EnsureMonitorInitialized () |
void | OnSerializing (StreamingContext context) |
void | OnDeserialized (StreamingContext context) |
int IList. | Add (object value) |
void ICollection. | CopyTo (Array array, int index) |
bool IList. | Contains (object value) |
IEnumerator IEnumerable. | GetEnumerator () |
int IList. | IndexOf (object value) |
void IList. | Insert (int index, object value) |
void IList. | Remove (object value) |
Static Private Member Functions | |
static List< T > | CreateCopy (IEnumerable< T > collection, string paramName) |
static bool | IsCompatibleObject (object value) |
Private Attributes | |
SimpleMonitor | _monitor |
int | _blockReentrancyCount |
readonly IList< T > | items |
Definition at line 14 of file ObservableCollection.cs.