Extension methods for generic lists.
More...
|
static void | AddSorted< T > (this List< T > @this, T item) |
| Adds an item to a list in sorted order.
|
|
static void | Shuffle< T > (this List< T > @this) |
| Fisher-Yates shuffle.
|
|
Extension methods for generic lists.
◆ AddSorted< T >()
static void PixelCrushers.ListExtensions.AddSorted< T > |
( |
this List< T > @ |
this, |
|
|
T |
item |
|
) |
| |
|
inlinestatic |
Adds an item to a list in sorted order.
The list items must implement IComparable.
- Parameters
-
this | This list. |
item | Item to add. |
- Template Parameters
-
◆ Shuffle< T >()
static void PixelCrushers.ListExtensions.Shuffle< T > |
( |
this List< T > @ |
this | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- C:/Dev/LoveHate/Dev/Source/Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/ListExtensions.cs