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
Returns
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
T1value
T2
Type Parameters
T1
T2
IsFloatingPointType(Type)
public static bool IsFloatingPointType(Type type)
Parameters
type
Type
Returns
IsIntegralType(Type)
public static bool IsIntegralType(Type type)
Parameters
type
Type
Returns
IsMouseWheelSupported()
public static bool IsMouseWheelSupported()
Returns
IsNullOrWhiteSpace(string)
public static bool IsNullOrWhiteSpace(this string value)
Parameters
value
string
Returns
IsNumericType(Type)
public static bool IsNumericType(Type type)
Parameters
type
Type
Returns
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
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
Type Parameters
T
Swap<T>(ref T, ref T)
public static void Swap<T>(ref T lhs, ref T rhs)
Parameters
lhs
Trhs
T
Type Parameters
T