Inheritance
AutomatedQaTools
public static class AutomatedQaTools : object
Methods
Declaration
public static List<T> AddAtAndReturnNewList<T>(this List<T> list, int index, T item)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Int32 |
index |
|
T |
item |
|
Returns
Type Parameters
Declaration
public static bool Any<T>(this T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Type Parameters
Declaration
public static bool Any<T>(this List<T> list)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Returns
Type Parameters
Declaration
public static bool AnyMatch<T>(this T[] array, Func<T, bool> predicate)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Func<T, Boolean> |
predicate |
|
Returns
Type Parameters
Declaration
public static bool AnyMatch<T>(this List<T> list, Func<T, bool> predicate)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Func<T, Boolean> |
predicate |
|
Returns
Type Parameters
Declaration
public static bool Contains<T>(this T[] array, T item)
Parameters
Type |
Name |
Description |
T[] |
array |
|
T |
item |
|
Returns
Type Parameters
Declaration
public static T First<T>(this T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Type Parameters
Declaration
public static T First<T>(this List<T> list)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Returns
Type Parameters
Declaration
public static List<T> GetUniqueObjectsBetween<T>(this List<T> thisList, List<T> otherList)
Parameters
Type |
Name |
Description |
List<T> |
thisList |
|
List<T> |
otherList |
|
Returns
Type Parameters
Declaration
public static bool IsError(this UnityWebRequest uwr)
Parameters
Type |
Name |
Description |
UnityWebRequest |
uwr |
|
Returns
Declaration
public static T Last<T>(this T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Type Parameters
Declaration
public static T Last<T>(this List<T> list)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Returns
Type Parameters
Declaration
public static List<T> Prepend<T>(this List<T> list, T item)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
T |
item |
|
Returns
Type Parameters
Declaration
public static List<T> PrependRange<T>(this List<T> list, List<T> items)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
List<T> |
items |
|
Returns
Type Parameters
Declaration
public static T Random<T>(this List<T> list)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Returns
Type Parameters
Declaration
public static string RandomString(int length, bool alphaNumericOnly = false, bool isPassword = false)
Parameters
Returns
Declaration
public static List<X> Select<X, T>(this T[] list, Func<T, X> predicate)
Parameters
Type |
Name |
Description |
T[] |
list |
|
Func<T, X> |
predicate |
|
Returns
Type Parameters
Declaration
public static List<X> Select<X, T>(this List<T> list, Func<T, X> predicate)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
Func<T, X> |
predicate |
|
Returns
Type Parameters
Declaration
public static bool SequenceEqual<T>(this List<T> list, List<T> otherList)
Parameters
Type |
Name |
Description |
List<T> |
list |
|
List<T> |
otherList |
|
Returns
Type Parameters
Declaration
public static List<T> ToList<T>(this T[] array)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Returns
Type Parameters
Declaration
public static List<T> ToList<T>(this IEnumerable<T> enumerable)
Parameters
Type |
Name |
Description |
IEnumerable<T> |
enumerable |
|
Returns
Type Parameters