Extensions for LockedLists
public static class LockedList
Inheritance System.Object LockedList
Return whether or not there are any elements in this
public static bool Any<T>(this LockList<T> source)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
Return whether or not there are any elements in this that match the predicate
public static bool Any<T>(this LockList<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>
Return the index of the element that matches the predicate
public static int FindIndex<T>(this LockList<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>
Return the first element in the collection
public static T First<T>(this LockList<T> source);
T
source
Il2CppAssets.Scripts.Utils.LockList
Return the first element that matches the predicate
public static T First<T>(this LockList<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>
Return the first element in the collection, or return default if it's null
public static T FirstOrDefault<T>(this LockList<T> source);
T
source
Il2CppAssets.Scripts.Utils.LockList
Return the first element that matches the predicate, or return default
public static T FirstOrDefault<T>(this LockList<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>
Performs the specified action on each element
public static void ForEach<T>(this LockList<T> source, System.Action<T> action);
T
source
Il2CppAssets.Scripts.Utils.LockList
action
System.Action<T>
Action to preform on each element
Return the last item in the collection
public static T Last<T>(this LockList<T> source);
T
source
Il2CppAssets.Scripts.Utils.LockList
Return the last item in the collection that meets the condition, or return default
public static T LastOrDefault<T>(this LockList<T> source, System.Func<T,bool> predicate);
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>
Return all elements that match the predicate
public static System.Collections.Generic.List<T> Where<T>(this LockList<T> source, System.Func<T,bool> predicate)
where T : Object;
T
source
Il2CppAssets.Scripts.Utils.LockList
predicate
System.Func<T,System.Boolean>