![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
A threadsafe generic list. More...
Public Member Functions | |
ThreadSafeList () | |
Constructor. More... | |
IEnumerator< T > | GetEnumerator () |
Returns the enumerator. More... | |
void | Add (T item) |
Adds an item to the collection. More... | |
void | Clear () |
Clears the item collection. More... | |
bool | Contains (T item) |
Determines whether collection contains the item. More... | |
void | CopyTo (T[] array, int arrayIndex) |
bool | Remove (T item) |
int | IndexOf (T item) |
Returns the index of the item in the collection. More... | |
void | Insert (int index, T item) |
Inserts an item in the collection. More... | |
void | RemoveAt (int index) |
Removes an item from the collection at a given index. More... | |
void | RemoveRange (int index, int count) |
Remove a range of items. More... | |
Properties | |
int | Count [get] |
Returns the number of items in the collection. More... | |
bool | IsReadOnly [get] |
Returns whether the collection is read-only. More... | |
T | this[int index] [get, set] |
Returns an item at a given index. More... | |
A threadsafe generic list.
PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.ThreadSafeList | ( | ) |
Constructor.
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.Add | ( | T | item | ) |
Adds an item to the collection.
item |
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.Clear | ( | ) |
Clears the item collection.
bool PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.Contains | ( | T | item | ) |
Determines whether collection contains the item.
item |
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.CopyTo | ( | T[] | array, |
int | arrayIndex | ||
) |
array | |
arrayIndex |
IEnumerator<T> PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.GetEnumerator | ( | ) |
Returns the enumerator.
int PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.IndexOf | ( | T | item | ) |
Returns the index of the item in the collection.
item |
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.Insert | ( | int | index, |
T | item | ||
) |
Inserts an item in the collection.
index | |
item |
bool PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.Remove | ( | T | item | ) |
item |
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.RemoveAt | ( | int | index | ) |
Removes an item from the collection at a given index.
index |
void PushTechnology.DiffusionCore.Threading.ThreadSafeList< T >.RemoveRange | ( | int | index, |
int | count | ||
) |
Remove a range of items.
index | |
count |
|
get |
Returns the number of items in the collection.
|
get |
Returns whether the collection is read-only.
|
getset |
Returns an item at a given index.
index |