Collection of model informations.
More...
Inherits InfoCollection< TParent, TInfo >.
|
| override int | GetCount () |
| | Retrieves the number of elements in the collection.
|
| |
| override ModelInformation | GetInfo (int index) |
| | Retrieves the indexed model information block.
|
| |
| | InfoCollection (TParent parent) |
| | Constructor.
|
| |
| int | GetCount () |
| | Function with which the collection queries the number of elements.
|
| |
| TInfo | GetInfo (int index) |
| | Function with which the collection retrieves the information object with the given index.
|
| |
|
| TInfo[] | ToArray () |
| | Converts this collection into an array.
|
| |
|
readonly TParent | Parent |
| | Parent image reference helps keeping track of the lifetime and provides the information basis for index access.
|
| |
Collection of model informations.
◆ GetCount()
| override int GetCount |
( |
| ) |
|
|
protected |
Retrieves the number of elements in the collection.
- Returns
- Number of elements in the collection.
- Exceptions
-
| ObjectDisposedException | If the parent image has already been disposed of |
◆ GetInfo()
Retrieves the indexed model information block.
- Parameters
-
| index | index of the collection to be accessed |
- Returns
- model information
- Exceptions
-
| ArgumentOutOfRangeException | If the index is invalid |
| ObjectDisposedException | If the parent image has already been disposed of |
◆ this[int index]
Indexed access to the individual model information.
- Parameters
-
| index | index of the model to be accessed |
- Returns
- model information object
- Exceptions
-
| ArgumentOutOfRangeException | If the index is invalid |
| ObjectDisposedException | If the parent image has already been disposed of |