Extended version of the generic List class supporting events for various actions on the list.
More...
|
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) |
|
|
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.
- Template Parameters
-
T | Type of the items contained in the list |
DirectOutput.General.Generic.ExtList< T >.ExtList |
( |
| ) |
|
DirectOutput.General.Generic.ExtList< T >.ExtList |
( |
IEnumerable< T > |
EnumerableList | ) |
|
void DirectOutput.General.Generic.ExtList< T >.Add |
( |
T |
NewListItem | ) |
|
Adds a new item to the ExtList.
- Parameters
-
int DirectOutput.General.Generic.ExtList< T >.Add |
( |
object |
value | ) |
|
void DirectOutput.General.Generic.ExtList< T >.AddRange |
( |
IEnumerable< T > |
Collection | ) |
|
Adds a list of items to the ExtList.
- Parameters
-
Collection | Collection of items to add. |
void DirectOutput.General.Generic.ExtList< T >.Clear |
( |
| ) |
|
ExtList<T> DirectOutput.General.Generic.ExtList< T >.Clone |
( |
| ) |
|
Creates a clone of the ExtList
- Returns
- A clone of the ExtList.
bool DirectOutput.General.Generic.ExtList< T >.Contains |
( |
T |
ItemToCheck | ) |
|
Checks wether the specified item is contained in the ExtList.
- Parameters
-
ItemToCheck | Item to check. |
- Returns
- true or false.
bool DirectOutput.General.Generic.ExtList< T >.Contains |
( |
object |
value | ) |
|
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.
- Parameters
-
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. |
void DirectOutput.General.Generic.ExtList< T >.CopyTo |
( |
Array |
array, |
|
|
int |
index |
|
) |
| |
IEnumerator<T> DirectOutput.General.Generic.ExtList< T >.GetEnumerator |
( |
| ) |
|
Returns an enumerator that iterates through a ExtList.
int DirectOutput.General.Generic.ExtList< T >.IndexOf |
( |
T |
Item | ) |
|
Determines the index of a specific item.
- Parameters
-
- Returns
- Index of the specified item.
int DirectOutput.General.Generic.ExtList< T >.IndexOf |
( |
object |
value | ) |
|
void DirectOutput.General.Generic.ExtList< T >.Insert |
( |
int |
Index, |
|
|
T |
Item |
|
) |
| |
Inserts an item to the ExtList at the specified Index.
- Parameters
-
Index | Index at which to insert the item. |
Item | Item to insert. |
void DirectOutput.General.Generic.ExtList< T >.Insert |
( |
int |
index, |
|
|
object |
value |
|
) |
| |
bool DirectOutput.General.Generic.ExtList< T >.Remove |
( |
T |
ItemToRemove | ) |
|
Romves a item from the ExtList.
- Parameters
-
ItemToRemove | Item to remove. |
void DirectOutput.General.Generic.ExtList< T >.Remove |
( |
object |
value | ) |
|
void DirectOutput.General.Generic.ExtList< T >.RemoveAt |
( |
int |
Index | ) |
|
Removes a item at a specified index.
- Parameters
-
Index | Index of the item to remove. |
void DirectOutput.General.Generic.ExtList< T >.Sort |
( |
| ) |
|
void DirectOutput.General.Generic.ExtList< T >.Sort |
( |
IComparer< T > |
Comparer | ) |
|
Sorts the ExtList.
- Parameters
-
Comparer | Comparer to using for sorting. |
void DirectOutput.General.Generic.ExtList< T >.Sort |
( |
Comparison< T > |
Comparison | ) |
|
Sorts the elements in the entire ExtList using the specified System.Comparison<T>.
- Parameters
-
Comparison | Comparer to using for sorting. |
T [] DirectOutput.General.Generic.ExtList< T >.ToArray |
( |
| ) |
|
Returns a array containg the ExtList items.
- Returns
- Array of ExtList items.
int DirectOutput.General.Generic.ExtList< T >.Count |
|
get |
Number of items in the ExtList.
bool DirectOutput.General.Generic.ExtList< T >.IsFixedSize |
|
get |
bool DirectOutput.General.Generic.ExtList< T >.IsReadOnly |
|
get |
This ExtList objects are not readonly.
Will always return false.
Always false.
bool DirectOutput.General.Generic.ExtList< T >.IsSynchronized |
|
get |
object DirectOutput.General.Generic.ExtList< T >.SyncRoot |
|
get |
T DirectOutput.General.Generic.ExtList< T >.this[int Index] |
|
getset |
Indexer of the ExtList.
Returns the item at the specified index.
- Parameters
-
Index | Index of the item to return. |
Item at specified index.
EventHandler<EventArgs> DirectOutput.General.Generic.ExtList< T >.AfterClear |
Fires after the ExtList is cleared.
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.
EventHandler<RemoveEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.AfterRemove |
Fires after a item is removed from the ExtList.
EventHandler<SetEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.AfterSet |
Fires after a item has been set in the ExtList.
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.
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.
EventHandler<RemoveEventArgs<T> > DirectOutput.General.Generic.ExtList< T >.BeforeRemove |
Fires before a item is removed from the ExtList.
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.
The documentation for this class was generated from the following file:
- C:/Users/Tom/Documents/GitHub/DirectOutput/DirectOutput/General/Generic/ExtList.cs