Generic collection of information objects.
More...
Inherits IEnumerable< TInfo >, and IEnumerable.
Inherited by TrainingSet.TrainingSetObjectInfoCollection< TParent, TInfo >.
|
| | InfoCollection (TParent parent) |
| | Constructor. More...
|
| |
| abstract int | GetCount () |
| | Function with which the collection queries the number of elements More...
|
| |
| abstract TInfo | GetInfo (int index) |
| | Function with which the collection retrieves the information object with the given index. More...
|
| |
|
|
readonly TParent | Parent |
| | Parent image reference helps keeping track of the lifetime and provides the information basis for index access
|
| |
|
| int | Count [get] |
| | Number of elements in the collection. More...
|
| |
Generic collection of information objects.
- Template Parameters
-
| TInfo | Type of the information container. |
| TParent | Type of the collection parent. |
◆ InfoCollection()
◆ GetCount()
| abstract int GetCount |
( |
| ) |
|
|
protectedpure virtual |
◆ GetInfo()
| abstract TInfo GetInfo |
( |
int |
index | ) |
|
|
protectedpure virtual |
◆ ToArray()
Converts this collection into an array.
- Returns
- Array containing the members of this collection.
◆ Count
Number of elements in the collection.
- Exceptions
-
| ObjectDisposedException | If the parent object has already been disposed of |