| PrioritizedListT Constructor (Int32, ListSortDirection) |
Creates a new PrioritizedList with the specified sort direction and initial capacity.
Namespace:
Archon.SwissArmyLib.Collections
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public PrioritizedList(
int capacity,
ListSortDirection sortDirection = ListSortDirection.Ascending
)
Request Example
View SourceParameters
- capacity
- Type: SystemInt32
The number of elements that the new list can initially store. - sortDirection (Optional)
- Type: Archon.SwissArmyLib.CollectionsListSortDirection
Whether items with lower priorities are placed first in the list (ascending) or last (descending).
See Also