A collection that tracks the upper and lower time stamps of Apac.Monitoring.ITimeStamped items added to it and also the minimum and maximum values of items added to it.
More...
|
| TimeTrackingList () |
| Initializes a new instance of the TimeTrackingList<T> class. More...
|
|
| TimeTrackingList (System.Collections.Generic.IList< T > list) |
| Initializes a new instance of the TimeTrackingList<T> class. More...
|
|
void | AddRange (System.Collections.Generic.IEnumerable< T > list) |
| Adds a set of items to the collection. More...
|
|
T | Find (Predicate< T > match) |
| Finds the specified T by using match , which is defined by the caller. More...
|
|
T[] | GetSorted (System.Collections.Generic.IComparer< T > comparer) |
| Gets a sorted version of the collection. The references provided in the System.Collections.Generic.IEnumerable<T> are 'live' in the collection. Updates to those objects will change the objects in the collection. More...
|
|
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
|
|
Apac.Monitoring.ListChangedHandler | ListChanged |
| Occurs when the contents of the list has changed. More...
|
|
ListChangedHandler | ListChanged |
|
A collection that tracks the upper and lower time stamps of Apac.Monitoring.ITimeStamped items added to it and also the minimum and maximum values of items added to it.
- Template Parameters
-
T | The type of items contained in the list. |
◆ TimeTrackingList() [1/3]
◆ TimeTrackingList() [2/3]
◆ TimeTrackingList() [3/3]
Initializes a new instance of the TimeTrackingList<T> class.
- Parameters
-
info | The info. |
context | The context. |
◆ AddRange()
Adds a set of items to the collection.
- Parameters
-
◆ ClearItems()
◆ Find()
Finds the specified T by using match , which is defined by the caller.
- Parameters
-
- Returns
- Returns the required T or
null
.
◆ GetSorted()
Gets a sorted version of the collection. The references provided in the System.Collections.Generic.IEnumerable<T> are 'live' in the collection. Updates to those objects will change the objects in the collection.
- Returns
- Returns T:T[] with the sorted list.
◆ InsertItem()
Inserts an element into the T:System.Collections.ObjectModel.Collection`1 at the specified index.
- Parameters
-
index | The zero-based index at which item should be inserted. |
item | The object to insert. The value can be null for reference types. |
- Exceptions
-
◆ OnListChanged()
Raises the E:ListChanged event.
- Parameters
-
args | The System.ComponentModel.ListChangedEventArgs instance containing the event data. |
◆ OnProcessedIn()
Allows subclasses to act when an item is processed into the collection.
- Parameters
-
◆ OnProcessedOut()
Allows subclasses to act when an item is processed out of the collection.
- Parameters
-
◆ RemoveItem()
◆ SetItem()
Replaces the element at the specified index.
- Parameters
-
index | The zero-based index of the element to replace. |
item | The new value for the element at the specified index. The value can be null for reference types. |
- Exceptions
-
◆ LowerBoundStamp
Gets the lower bound stamp.
◆ Maximum
Gets the maximum value in the collection.
◆ Minimum
Gets the minimum value in the collection.
◆ UpperBoundStamp
Gets the upper bound stamp.
◆ ListChanged
Occurs when the contents of the list has changed.
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/apac/APAC/APACCore/Collections/TimeTrackingList.cs