Table of Contents

Class Toolbox

Namespace
Lime
Assembly
Lime.dll
public static class Toolbox
Inheritance
Toolbox
Inherited Members

Methods

Clone<T>(List<T>)

public static List<T> Clone<T>(List<T> list)

Parameters

list List<T>

Returns

List<T>

Type Parameters

T

ComputeHash(byte[], int)

public static int ComputeHash(byte[] data, int length)

Parameters

data byte[]
length int

Returns

int

Deconstruct<T1, T2>(KeyValuePair<T1, T2>, out T1, out T2)

public static void Deconstruct<T1, T2>(this KeyValuePair<T1, T2> tuple, out T1 key, out T2 value)

Parameters

tuple KeyValuePair<T1, T2>
key T1
value T2

Type Parameters

T1
T2

IsFloatingPointType(Type)

public static bool IsFloatingPointType(Type type)

Parameters

type Type

Returns

bool

IsIntegralType(Type)

public static bool IsIntegralType(Type type)

Parameters

type Type

Returns

bool

IsMouseWheelSupported()

public static bool IsMouseWheelSupported()

Returns

bool

IsNullOrWhiteSpace(string)

public static bool IsNullOrWhiteSpace(this string value)

Parameters

value string

Returns

bool

IsNumericType(Type)

public static bool IsNumericType(Type type)

Parameters

type Type

Returns

bool

RemoveTail<T>(List<T>, int)

Removes from the list all elements whose index is greater than or equal to the specified index.

public static void RemoveTail<T>(this List<T> list, int startIndex)

Parameters

list List<T>
startIndex int

Type Parameters

T

ResetEnumerator<T>(ref T)

public static void ResetEnumerator<T>(ref T enumerator) where T : IEnumerator

Parameters

enumerator T

Type Parameters

T

Swap<T>(IList<T>, int, int)

public static void Swap<T>(IList<T> list, int lhsIndex, int rhsIndex)

Parameters

list IList<T>
lhsIndex int
rhsIndex int

Type Parameters

T

Swap<T>(ref T, ref T)

public static void Swap<T>(ref T lhs, ref T rhs)

Parameters

lhs T
rhs T

Type Parameters

T