List extensions.  
 More...
|  | 
| static T | MMRandom< T > (this IList< T > list) | 
|  | Returns a random element from the list. 
 | 
| static void | MMSwap< T > (this IList< T > list, int i, int j) | 
|  | Swaps two items in a list. 
 | 
| static void | MMShuffle< T > (this IList< T > list) | 
|  | Shuffles a list randomly. 
 | 
◆ MMRandom< T >()
  
  | 
        
          | T MoreMountains.Tools.ListExtensions.MMRandom< T > | ( | this IList< T > | list | ) |  |  | static | 
 
Returns a random element from the list. 
- Parameters
- 
  
  
- Template Parameters
- 
  
  
- Returns
 
 
◆ MMShuffle< T >()
  
  | 
        
          | void MoreMountains.Tools.ListExtensions.MMShuffle< T > | ( | this IList< T > | list | ) |  |  | static | 
 
Shuffles a list randomly. 
- Template Parameters
- 
  
  
- Parameters
- 
  
  
 
 
◆ MMSwap< T >()
  
  | 
        
          | void MoreMountains.Tools.ListExtensions.MMSwap< T > | ( | this IList< T > | list, |  
          |  |  | int | i, |  
          |  |  | int | j ) |  | static | 
 
Swaps two items in a list. 
- Template Parameters
- 
  
  
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Core/MMExtensions/MMListExtensions.cs