MonitoredListT Class |
Namespace: RavingBots.MagicGestures.Utils
public class MonitoredList<T> : IList<T>, IEnumerable, ICollection<T>, IEnumerable<T>
The MonitoredListT type exposes the following members.
| Name | Description | |
|---|---|---|
| MonitoredListT |
Construct a new list with the given initial items and delegates.
|
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ICollectionT. | |
| IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. | |
| Item | Gets or sets the element at the specified index. |
| Name | Description | |
|---|---|---|
| Add | Adds an item to the ICollectionT. | |
| AddRange |
Add multiple items to this list.
| |
| Clear | Removes all items from the ICollectionT. | |
| Contains | Determines whether the ICollectionT contains a specific value. | |
| ContainsIndex |
Check if the given index exists in this list.
| |
| CopyTo | ||
| GetEnumerator | Returns an enumerator that iterates through the collection. | |
| IndexOf | Determines the index of a specific item in the IListT. | |
| Insert | Inserts an item to the IListT at the specified index. | |
| Move |
Move an item to a new position.
| |
| Remove | Removes the first occurrence of a specific object from the ICollectionT. | |
| RemoveAt | Removes the IListT item at the specified index. |
| Name | Description | |
|---|---|---|
| List |
The items.
| |
| OnAdded |
The delegate called when a new item is added.
| |
| OnMoved |
The delegate called when an item is moved from one index to another.
| |
| OnRemoved |
The delegate called when an item is removed.
|