Megadocs 0.0.1
All of megapop's internal libraries
Megapop.MegaCore.ArrayUtil Class Reference

Static Public Member Functions

static void SetRange< T > ([CanBeNull] ref T[] array, ICollection< T > collection)
 
static void AddRange< T > ([CanBeNull] ref T[] array, ICollection< T > collection)
 
static T[] Create< T > (int count, T value)
 
static T[] Create< T > (int count, Func< int, T > generator)
 

Member Function Documentation

◆ AddRange< T >()

static void Megapop.MegaCore.ArrayUtil.AddRange< T > ( [CanBeNull] ref T[]  array,
ICollection< T >  collection 
)
inlinestatic

◆ Create< T >() [1/2]

static T[] Megapop.MegaCore.ArrayUtil.Create< T > ( int  count,
Func< int, T >  generator 
)
inlinestatic

◆ Create< T >() [2/2]

static T[] Megapop.MegaCore.ArrayUtil.Create< T > ( int  count,
value 
)
inlinestatic

◆ SetRange< T >()

static void Megapop.MegaCore.ArrayUtil.SetRange< T > ( [CanBeNull] ref T[]  array,
ICollection< T >  collection 
)
inlinestatic

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