Sage Modeling and Simulation Library

EventedList<(Of <(<'T>)>)> Members

The EventedList<(Of <(<'T>)>)> type exposes the following members.

Constructors


  Name Description
Public method EventedList<(Of <(<'T>)>)>()()()()
Initializes a new instance of the System.Collections.Generic.List<T> class that is empty and has the default initial capacity.
Public method EventedList<(Of <(<'T>)>)>(Int32)
Exceptions: System.ArgumentOutOfRangeException: capacity is less than 0.
Public method EventedList<(Of <(<'T>)>)>(IEnumerable<(Of <<'(T>)>>))
Initializes a new instance of the EventedList<(Of <(<'T>)>)> class.

Methods


  Name Description
Public method Add
Adds an object to the end of the List.
Public method AddRange
Adds the elements of the specified collection to the end of the List.
Public method AsReadOnly
Public method BinarySearch(T)
Public method BinarySearch(T, IComparer<(Of <<'(T>)>>))
Public method BinarySearch(Int32, Int32, T, IComparer<(Of <<'(T>)>>))
Public method Clear
Removes all elements from the List.
Public method Contains
Public method ConvertAll<(Of <<'(TOutput>)>>)
Public method CopyTo(array<T>[]()[][])
Public method CopyTo(array<T>[]()[][], Int32)
Public method CopyTo(Int32, array<T>[]()[][], Int32, Int32)
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method Exists
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Find
Public method FindAll
Public method FindIndex(Predicate<(Of <<'(T>)>>))
Public method FindIndex(Int32, Predicate<(Of <<'(T>)>>))
Public method FindIndex(Int32, Int32, Predicate<(Of <<'(T>)>>))
Public method FindLast
Public method FindLastIndex(Predicate<(Of <<'(T>)>>))
Public method FindLastIndex(Int32, Predicate<(Of <<'(T>)>>))
Public method FindLastIndex(Int32, Int32, Predicate<(Of <<'(T>)>>))
Public method ForEach
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetRange
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf(T)
Public method IndexOf(T, Int32)
Public method IndexOf(T, Int32, Int32)
Public method Insert
Inserts an element into the List at the specified index.
Public method InsertRange
Inserts the elements of a collection into the List at the specified index.
Public method LastIndexOf(T)
Public method LastIndexOf(T, Int32)
Public method LastIndexOf(T, Int32, Int32)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Remove
Removes the specified item.
Public method RemoveAll
Removes all.
Public method RemoveAt
Removes the element at the specified index of the List.
Public method RemoveRange
Removes a range of elements from the List.
Public method Reverse()()()()
Public method Reverse(Int32, Int32)
Public method Sort()()()()
Public method Sort(Comparison<(Of <<'(T>)>>))
Public method Sort(IComparer<(Of <<'(T>)>>))
Public method Sort(Int32, Int32, IComparer<(Of <<'(T>)>>))
Public method ToArray
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method TrimExcess
Public method TrueForAll

Properties


  Name Description
Public property Capacity
Public property Count
Public property IsReadOnly
Public property Item
Gets or sets the <T> at the specified index. Parameters: index: The zero-based index of the element to get or set. Returns: The element at the specified index. Exceptions: System.ArgumentOutOfRangeException: index is less than 0.-or-index is equal to or greater than System.Collections.Generic.List<T>.Count.

Events


  Name Description
Public event AboutToAddItem
Fired when the list is about to add an item.
Public event AboutToAddItems
Fired when the list is about to add some items.
Public event AboutToClear
Fired when the list is about to be cleared of all of its members.
Public event AboutToRemoveItem
Fired when the list is about to remove an item.
Public event AboutToRemoveItems
Fired when the list is about to remove some of its items.
Public event AboutToRemoveRange
Fired when the list is about to remove a range of elements.
Public event AboutToReplaceItem
Fired when the list is about to replace one item with another.
Public event AddedItem
Fired when the list has just added an item.
Public event AddedItems
Fired when the list has just added some items.
Public event Cleared
Fired when the list has just been cleared.
Public event ContentsChanged
Fired when the list has just had its contents changed.
Public event RemovedItem
Fired when the list has just removed an item.
Public event RemovedItems
Fired when the list has just had some of its items removed.
Public event RemovedRange
Fired when the list has just had a range of elements removed.
Public event ReplacedItem
Fired when the list has just replaced one item with another.