DemiLib
A collection of Demigiant's utility libraries for Unity (https://github.com/Demigiant/demilib)
DG.DeExtensions.ListExtensions Class Reference

List, IList, Array and Dictionary utils More...

Static Public Member Functions

static T2 AddAndReturnValue< T1, T2 > (this Dictionary< T1, T2 > dictionary, T1 key, T2 value)
 Adds a key/value pair to the dictionary and returns its value More...
 
static void Shift< T > (this IList< T > list, int fromIndex, int toIndex)
 Shifts an item from an index to another, without modifying the list except than by moving elements around More...
 

Detailed Description

List, IList, Array and Dictionary utils

Member Function Documentation

static T2 DG.DeExtensions.ListExtensions.AddAndReturnValue< T1, T2 > ( this Dictionary< T1, T2 >  dictionary,
T1  key,
T2  value 
)
static

Adds a key/value pair to the dictionary and returns its value

static void DG.DeExtensions.ListExtensions.Shift< T > ( this IList< T >  list,
int  fromIndex,
int  toIndex 
)
static

Shifts an item from an index to another, without modifying the list except than by moving elements around


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