Inventory Engine  v4.0
Static Public Member Functions | List of all members
MoreMountains.Tools.ListExtensions Class Reference

List extensions More...

Static Public Member Functions

static void MMSwap< T > (this IList< T > list, int i, int j)
 Swaps two items in a list More...
 
static void MMShuffle< T > (this IList< T > list)
 Shuffles a list randomly More...
 

Detailed Description

List extensions

Member Function Documentation

◆ MMShuffle< T >()

static void MoreMountains.Tools.ListExtensions.MMShuffle< T > ( this IList< T >  list)
static

Shuffles a list randomly

Template Parameters
T
Parameters
list

◆ MMSwap< T >()

static void MoreMountains.Tools.ListExtensions.MMSwap< T > ( this IList< T >  list,
int  i,
int  j 
)
static

Swaps two items in a list

Template Parameters
T
Parameters
list
i
j

The documentation for this class was generated from the following file: