WIP
DirectOutput framework for virtual pinball cabinets WIP
|
Go to: Overview |
Extended version of the generic List class supporting events for various actions on the list. More...
Public Member Functions | |
int | IndexOf (T Item) |
Determines the index of a specific item. More... | |
void | CopyTo (T[] Array, int ArrayIndex) |
Copies the elements of the ExtList to an Array, starting at a particular Array index. More... | |
IEnumerator< T > | GetEnumerator () |
Returns an enumerator that iterates through a ExtList. More... | |
void | Add (T NewListItem) |
Adds a new item to the ExtList. More... | |
void | AddRange (IEnumerable< T > Collection) |
Adds a list of items to the ExtList. More... | |
ExtList< T > | Clone () |
Creates a clone of the ExtList More... | |
void | Insert (int Index, T Item) |
Inserts an item to the ExtList at the specified Index. More... | |
void | Clear () |
Clears the ExtList. More... | |
bool | Remove (T ItemToRemove) |
Romves a item from the ExtList. More... | |
void | RemoveAt (int Index) |
Removes a item at a specified index. More... | |
bool | Contains (T ItemToCheck) |
Checks wether the specified item is contained in the ExtList. More... | |
void | Sort () |
Sorts the ExtList. More... | |
void | Sort (IComparer< T > Comparer) |
Sorts the ExtList. More... | |
void | Sort (Comparison< T > Comparison) |
Sorts the elements in the entire ExtList using the specified System.Comparison<T>. More... | |
T[] | ToArray () |
Returns a array containg the ExtList items. More... | |
ExtList () | |
ExtList (IEnumerable< T > EnumerableList) | |
void | CopyTo (Array array, int index) |
int | Add (object value) |
bool | Contains (object value) |
int | IndexOf (object value) |
void | Insert (int index, object value) |
void | Remove (object value) |
Properties | |
bool | IsReadOnly [get] |
This ExtList objects are not readonly. Will always return false. More... | |
int | Count [get] |
Number of items in the ExtList. More... | |
T | this[int Index] [get, set] |
Indexer of the ExtList. Returns the item at the specified index. More... | |
bool | IsSynchronized [get] |
object | SyncRoot [get] |
bool | IsFixedSize [get] |
Events | |
EventHandler< EventArgs > | BeforeClear |
Fires before the ExtList is cleared. If a exception is trown within the events, the list is not cleared. More... | |
EventHandler< EventArgs > | AfterClear |
Fires after the ExtList is cleared. More... | |
EventHandler< InsertEventArgs< T > > | BeforeInsert |
Fires before a new item is inserted into the ExtList. If a exception is occurs in the event, to item is not added. OnValidate is called prior to this method. More... | |
EventHandler< InsertEventArgs< T > > | AfterInsert |
Fires after a new item is inserted into the ExtList. OnValidate is called prior to this method. More... | |
EventHandler< RemoveEventArgs< T > > | BeforeRemove |
Fires before a item is removed from the ExtList. More... | |
EventHandler< RemoveEventArgs< T > > | AfterRemove |
Fires after a item is removed from the ExtList. More... | |
EventHandler< SetEventArgs< T > > | BeforeSet |
Fires before a item is set in the ExtList. OnValidate is called prior to this method. More... | |
EventHandler< SetEventArgs< T > > | AfterSet |
Fires after a item has been set in the ExtList. More... | |
Extended version of the generic List class supporting events for various actions on the list.
T | Type of the items contained in the list |
Definition at line 11 of file ExtList.cs.
Definition at line 363 of file ExtList.cs.
DirectOutput.General.Generic.ExtList< T >.ExtList | ( | IEnumerable< T > | EnumerableList | ) |
Definition at line 368 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Add | ( | T | NewListItem | ) |
Adds a new item to the ExtList.
NewListItem | Item to add. |
Definition at line 70 of file ExtList.cs.
int DirectOutput.General.Generic.ExtList< T >.Add | ( | object | value | ) |
Definition at line 397 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.AddRange | ( | IEnumerable< T > | Collection | ) |
Adds a list of items to the ExtList.
Collection | Collection of items to add. |
Definition at line 88 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Clear | ( | ) |
Clears the ExtList.
Definition at line 140 of file ExtList.cs.
ExtList<T> DirectOutput.General.Generic.ExtList< T >.Clone | ( | ) |
Creates a clone of the ExtList
Definition at line 101 of file ExtList.cs.
bool DirectOutput.General.Generic.ExtList< T >.Contains | ( | T | ItemToCheck | ) |
Checks wether the specified item is contained in the ExtList.
ItemToCheck | Item to check. |
Definition at line 219 of file ExtList.cs.
bool DirectOutput.General.Generic.ExtList< T >.Contains | ( | object | value | ) |
Definition at line 407 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.CopyTo | ( | T[] | Array, |
int | ArrayIndex | ||
) |
Copies the elements of the ExtList to an Array, starting at a particular Array index.
Array | The one-dimensional Array that is the destination of the elements copied from ExtList.The Array must have zero-based indexing. |
ArrayIndex | The zero-based index in Array at which copying begins. |
Definition at line 32 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.CopyTo | ( | Array | array, |
int | index | ||
) |
Definition at line 377 of file ExtList.cs.
IEnumerator<T> DirectOutput.General.Generic.ExtList< T >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through a ExtList.
Definition at line 52 of file ExtList.cs.
int DirectOutput.General.Generic.ExtList< T >.IndexOf | ( | T | Item | ) |
Determines the index of a specific item.
Item | Item to locate. |
Definition at line 21 of file ExtList.cs.
int DirectOutput.General.Generic.ExtList< T >.IndexOf | ( | object | value | ) |
Definition at line 416 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Insert | ( | int | Index, |
T | Item | ||
) |
Inserts an item to the ExtList at the specified Index.
Index | Index at which to insert the item. |
Item | Item to insert. |
Definition at line 118 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Insert | ( | int | index, |
object | value | ||
) |
Definition at line 425 of file ExtList.cs.
bool DirectOutput.General.Generic.ExtList< T >.Remove | ( | T | ItemToRemove | ) |
Romves a item from the ExtList.
ItemToRemove | Item to remove. |
Definition at line 169 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Remove | ( | object | value | ) |
Definition at line 439 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.RemoveAt | ( | int | Index | ) |
Removes a item at a specified index.
Index | Index of the item to remove. |
Definition at line 195 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Sort | ( | ) |
Sorts the ExtList.
Definition at line 256 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Sort | ( | IComparer< T > | Comparer | ) |
Sorts the ExtList.
Comparer | Comparer to using for sorting. |
Definition at line 266 of file ExtList.cs.
void DirectOutput.General.Generic.ExtList< T >.Sort | ( | Comparison< T > | Comparison | ) |
Sorts the elements in the entire ExtList using the specified System.Comparison<T>.
Comparison | Comparer to using for sorting. |
Definition at line 274 of file ExtList.cs.
T [] DirectOutput.General.Generic.ExtList< T >.ToArray | ( | ) |
Returns a array containg the ExtList items.
Definition at line 285 of file ExtList.cs.
|
get |
Number of items in the ExtList.
Definition at line 159 of file ExtList.cs.
|
get |
Definition at line 435 of file ExtList.cs.
|
get |
This ExtList objects are not readonly.
Will always return false.
Always false.
Definition at line 44 of file ExtList.cs.
|
get |
Definition at line 383 of file ExtList.cs.
|
get |
Definition at line 388 of file ExtList.cs.
|
getset |
Indexer of the ExtList.
Returns the item at the specified index.
Index | Index of the item to return. |
Item at specified index.
Definition at line 233 of file ExtList.cs.
EventHandler<EventArgs> DirectOutput.General.Generic.ExtList< T >.AfterClear |
Fires after the ExtList is cleared.
Definition at line 306 of file ExtList.cs.
EventHandler<InsertEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.AfterInsert |
Fires after a new item is inserted into the ExtList.
OnValidate is called prior to this method.
Definition at line 323 of file ExtList.cs.
EventHandler<RemoveEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.AfterRemove |
Fires after a item is removed from the ExtList.
Definition at line 338 of file ExtList.cs.
EventHandler<SetEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.AfterSet |
Fires after a item has been set in the ExtList.
Definition at line 354 of file ExtList.cs.
EventHandler<EventArgs> DirectOutput.General.Generic.ExtList< T >.BeforeClear |
Fires before the ExtList is cleared.
If a exception is trown within the events, the list is not cleared.
Definition at line 299 of file ExtList.cs.
EventHandler<InsertEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.BeforeInsert |
Fires before a new item is inserted into the ExtList.
If a exception is occurs in the event, to item is not added. OnValidate is called prior to this method.
Definition at line 317 of file ExtList.cs.
EventHandler<RemoveEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.BeforeRemove |
Fires before a item is removed from the ExtList.
Definition at line 332 of file ExtList.cs.
EventHandler<SetEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.BeforeSet |
Fires before a item is set in the ExtList. OnValidate is called prior to this method.
Definition at line 348 of file ExtList.cs.