M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.LinQuick.LinQuick Class Reference

Static Public Member Functions

static bool AllQ< T > (this T[] source, Func< T, bool > predicate)
 
static bool AllQ< T > (this List< T > source, Func< T, bool > predicate)
 
static bool AllQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static bool AllQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static bool AnyQ< T > (this T[] source, Func< T, bool > predicate)
 
static bool AnyQ< T > (this List< T > source)
 
static bool AnyQ< T > (this List< T > source, Func< T, bool > predicate)
 
static bool AnyQ< T > (this IReadOnlyList< T > source)
 
static bool AnyQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static bool AnyQ< T > (this IEnumerable< T > source)
 
static bool AnyQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static float AverageQ (this float[] source)
 
static float AverageQ (this IEnumerable< float > source)
 
static float AverageQ< T > (this T[] source, Func< T, float > selector)
 
static float AverageQ< T > (this List< T > source, Func< T, float > selector)
 
static float AverageQ< T > (this IReadOnlyList< T > source, Func< T, float > selector)
 
static float AverageQ< T > (this IEnumerable< T > source, Func< T, float > selector)
 
static bool ContainsQ< T > (this T[] source, T value)
 
static bool ContainsQ< T > (this List< T > source, T value)
 
static bool ContainsQ< T > (this IReadOnlyList< T > source, T value)
 
static bool ContainsQ< T > (this IEnumerable< T > source, T value)
 
static bool ContainsQ< T > (this T[] source, Func< T, bool > predicate)
 Returns true if source contains value and false otherwise.
 
static bool ContainsQ< T > (this List< T > source, Func< T, bool > predicate)
 
static bool ContainsQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static bool ContainsQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static int CountQ< T > (this T[] source, T value)
 
static int CountQ< T > (this List< T > source, T value)
 
static int CountQ< T > (this IReadOnlyList< T > source, T value)
 
static int CountQ< T > (this T[] source, Func< T, bool > predicate)
 
static int CountQ< T > (this List< T > source, Func< T, bool > predicate)
 
static int CountQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static int CountQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static int CountQ< T > (this IEnumerable< T > source)
 
static int FindIndexQ< T > (this T[] source, T value)
 
static int FindIndexQ< T > (this List< T > source, T value)
 
static int FindIndexQ< T > (this IReadOnlyList< T > source, T value)
 
static int FindIndexQ< T > (this IEnumerable< T > source, T value)
 
static int FindIndexQ< T > (this T[] source, Func< T, bool > predicate)
 
static int FindIndexQ< T > (this List< T > source, Func< T, bool > predicate)
 
static int FindIndexQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static int FindIndexQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static T FirstOrDefaultQ< T > (this T[] source, Func< T, bool > predicate)
 
static T FirstOrDefaultQ< T > (this List< T > source, Func< T, bool > predicate)
 
static T FirstOrDefaultQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 Returns the first element of the sequence that satisfies a condition or a default value if no such element is found.
 
static T FirstOrDefaultQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 
static int MaxQ (this int[] source)
 
static int MaxQ (this List< int > source)
 
static T MaxQ< T > (this T[] source)
 
static T MaxQ< T > (this List< T > source)
 
static int MaxQ (this IReadOnlyList< int > source)
 
static T MaxQ< T > (this IReadOnlyList< T > source)
 
static float MaxQ< T > (this T[] source, Func< T, float > selector)
 
static int MaxQ< T > (this T[] source, Func< T, int > selector)
 
static float MaxQ< T > (this List< T > source, Func< T, float > selector)
 
static int MaxQ< T > (this List< T > source, Func< T, int > selector)
 
static float MaxQ< T > (this IReadOnlyList< T > source, Func< T, float > selector)
 
static int MaxQ< T > (this IReadOnlyList< T > source, Func< T, int > selector)
 
static float MaxQ< T > (this IEnumerable< T > source, Func< T, float > selector)
 
static int MaxQ< T > (this IEnumerable< T > source, Func< T, int > selector)
 
static ValueTuple< T, T, T > MaxElements3< T > (this IEnumerable< T > collection, Func< T, float > func)
 
static IOrderedEnumerable< T > OrderByQ< T, S > (this IEnumerable< T > source, Func< T, S > selector)
 
static T[] OrderByQ< T, TKey > (this T[] source, Func< T, TKey > selector)
 
static T[] OrderByQ< T, TKey > (this List< T > source, Func< T, TKey > selector)
 
static T[] OrderByQ< T, TKey > (this IReadOnlyList< T > source, Func< T, TKey > selector)
 
static IEnumerable< R > SelectQ< T, R > (this T[] source, Func< T, R > selector)
 
static IEnumerable< R > SelectQ< T, R > (this List< T > source, Func< T, R > selector)
 
static IEnumerable< R > SelectQ< T, R > (this IReadOnlyList< T > source, Func< T, R > selector)
 
static IEnumerable< R > SelectQ< T, R > (this IEnumerable< T > source, Func< T, R > selector)
 
static int SumQ< T > (this T[] source, Func< T, int > func)
 
static float SumQ< T > (this T[] source, Func< T, float > func)
 
static int SumQ< T > (this List< T > source, Func< T, int > func)
 
static float SumQ< T > (this List< T > source, Func< T, float > func)
 
static int SumQ< T > (this IReadOnlyList< T > source, Func< T, int > func)
 
static float SumQ< T > (this IReadOnlyList< T > source, Func< T, float > func)
 
static float SumQ< T > (this IEnumerable< T > source, Func< T, float > func)
 
static int SumQ< T > (this IEnumerable< T > source, Func< T, int > func)
 
static T[] ToArrayQ< T > (this T[] source)
 
static T[] ToArrayQ< T > (this List< T > source)
 
static T[] ToArrayQ< T > (this IReadOnlyList< T > source)
 
static T[] ToArrayQ< T > (this IEnumerable< T > source)
 
static List< T > ToListQ< T > (this T[] source)
 
static List< T > ToListQ< T > (this List< T > source)
 
static List< T > ToListQ< T > (this IReadOnlyList< T > source)
 
static List< T > ToListQ< T > (this IEnumerable< T > source)
 
static IEnumerable< T > WhereQ< T > (this T[] source, Func< T, bool > predicate)
 
static IEnumerable< T > WhereQ< T > (this List< T > source, Func< T, bool > predicate)
 
static IEnumerable< T > WhereQ< T > (this IReadOnlyList< T > source, Func< T, bool > predicate)
 
static IEnumerable< T > WhereQ< T > (this IEnumerable< T > source, Func< T, bool > predicate)
 

Member Function Documentation

◆ AllQ< T >() [1/4]

static bool TaleWorlds.LinQuick.LinQuick.AllQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ AllQ< T >() [2/4]

static bool TaleWorlds.LinQuick.LinQuick.AllQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ AllQ< T >() [3/4]

static bool TaleWorlds.LinQuick.LinQuick.AllQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ AllQ< T >() [4/4]

static bool TaleWorlds.LinQuick.LinQuick.AllQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ AnyQ< T >() [1/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ AnyQ< T >() [2/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this List< T >  source)
static

◆ AnyQ< T >() [3/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ AnyQ< T >() [4/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this IReadOnlyList< T >  source)
static

◆ AnyQ< T >() [5/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ AnyQ< T >() [6/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this IEnumerable< T >  source)
static

◆ AnyQ< T >() [7/7]

static bool TaleWorlds.LinQuick.LinQuick.AnyQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ AverageQ() [1/2]

static float TaleWorlds.LinQuick.LinQuick.AverageQ ( this float[]  source)
static

◆ AverageQ() [2/2]

static float TaleWorlds.LinQuick.LinQuick.AverageQ ( this IEnumerable< float >  source)
static

◆ AverageQ< T >() [1/4]

static float TaleWorlds.LinQuick.LinQuick.AverageQ< T > ( this T[]  source,
Func< T, float >  selector 
)
static

◆ AverageQ< T >() [2/4]

static float TaleWorlds.LinQuick.LinQuick.AverageQ< T > ( this List< T >  source,
Func< T, float >  selector 
)
static

◆ AverageQ< T >() [3/4]

static float TaleWorlds.LinQuick.LinQuick.AverageQ< T > ( this IReadOnlyList< T >  source,
Func< T, float >  selector 
)
static

◆ AverageQ< T >() [4/4]

static float TaleWorlds.LinQuick.LinQuick.AverageQ< T > ( this IEnumerable< T >  source,
Func< T, float >  selector 
)
static

◆ ContainsQ< T >() [1/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this T[]  source,
value 
)
static

◆ ContainsQ< T >() [2/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this List< T >  source,
value 
)
static

◆ ContainsQ< T >() [3/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this IReadOnlyList< T >  source,
value 
)
static

◆ ContainsQ< T >() [4/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this IEnumerable< T >  source,
value 
)
static

◆ ContainsQ< T >() [5/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static


Parameters
sourceAn IEnumerable to return an element from.
valuea value to look for in the container.
Returns

◆ ContainsQ< T >() [6/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ ContainsQ< T >() [7/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ ContainsQ< T >() [8/8]

static bool TaleWorlds.LinQuick.LinQuick.ContainsQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ CountQ< T >() [1/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this T[]  source,
value 
)
static

◆ CountQ< T >() [2/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this List< T >  source,
value 
)
static

◆ CountQ< T >() [3/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this IReadOnlyList< T >  source,
value 
)
static

◆ CountQ< T >() [4/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ CountQ< T >() [5/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ CountQ< T >() [6/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ CountQ< T >() [7/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ CountQ< T >() [8/8]

static int TaleWorlds.LinQuick.LinQuick.CountQ< T > ( this IEnumerable< T >  source)
static

◆ FindIndexQ< T >() [1/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this T[]  source,
value 
)
static

◆ FindIndexQ< T >() [2/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this List< T >  source,
value 
)
static

◆ FindIndexQ< T >() [3/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this IReadOnlyList< T >  source,
value 
)
static

◆ FindIndexQ< T >() [4/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this IEnumerable< T >  source,
value 
)
static

◆ FindIndexQ< T >() [5/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ FindIndexQ< T >() [6/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ FindIndexQ< T >() [7/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ FindIndexQ< T >() [8/8]

static int TaleWorlds.LinQuick.LinQuick.FindIndexQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ FirstOrDefaultQ< T >() [1/4]

static T TaleWorlds.LinQuick.LinQuick.FirstOrDefaultQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ FirstOrDefaultQ< T >() [2/4]

static T TaleWorlds.LinQuick.LinQuick.FirstOrDefaultQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ FirstOrDefaultQ< T >() [3/4]

static T TaleWorlds.LinQuick.LinQuick.FirstOrDefaultQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static


Parameters
sourceAn IEnumerable to return an element from.
predicateA function to test each element for a condition.
Returns

◆ FirstOrDefaultQ< T >() [4/4]

static T TaleWorlds.LinQuick.LinQuick.FirstOrDefaultQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static

◆ MaxQ() [1/3]

static int TaleWorlds.LinQuick.LinQuick.MaxQ ( this int[]  source)
static

◆ MaxQ() [2/3]

static int TaleWorlds.LinQuick.LinQuick.MaxQ ( this List< int >  source)
static

◆ MaxQ< T >() [1/11]

static T TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this T[]  source)
static
Type Constraints
T :IComparable<T> 

◆ MaxQ< T >() [2/11]

static T TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this List< T >  source)
static
Type Constraints
T :IComparable<T> 

◆ MaxQ() [3/3]

static int TaleWorlds.LinQuick.LinQuick.MaxQ ( this IReadOnlyList< int >  source)
static

◆ MaxQ< T >() [3/11]

static T TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this IReadOnlyList< T >  source)
static
Type Constraints
T :IComparable<T> 

◆ MaxQ< T >() [4/11]

static float TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this T[]  source,
Func< T, float >  selector 
)
static

◆ MaxQ< T >() [5/11]

static int TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this T[]  source,
Func< T, int >  selector 
)
static

◆ MaxQ< T >() [6/11]

static float TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this List< T >  source,
Func< T, float >  selector 
)
static

◆ MaxQ< T >() [7/11]

static int TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this List< T >  source,
Func< T, int >  selector 
)
static

◆ MaxQ< T >() [8/11]

static float TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this IReadOnlyList< T >  source,
Func< T, float >  selector 
)
static

◆ MaxQ< T >() [9/11]

static int TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this IReadOnlyList< T >  source,
Func< T, int >  selector 
)
static

◆ MaxQ< T >() [10/11]

static float TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this IEnumerable< T >  source,
Func< T, float >  selector 
)
static

◆ MaxQ< T >() [11/11]

static int TaleWorlds.LinQuick.LinQuick.MaxQ< T > ( this IEnumerable< T >  source,
Func< T, int >  selector 
)
static

◆ MaxElements3< T >()

static ValueTuple< T, T, T > TaleWorlds.LinQuick.LinQuick.MaxElements3< T > ( this IEnumerable< T >  collection,
Func< T, float >  func 
)
static

◆ OrderByQ< T, S >()

static IOrderedEnumerable< T > TaleWorlds.LinQuick.LinQuick.OrderByQ< T, S > ( this IEnumerable< T >  source,
Func< T, S >  selector 
)
static

◆ OrderByQ< T, TKey >() [1/3]

static T[] TaleWorlds.LinQuick.LinQuick.OrderByQ< T, TKey > ( this T[]  source,
Func< T, TKey >  selector 
)
static

◆ OrderByQ< T, TKey >() [2/3]

static T[] TaleWorlds.LinQuick.LinQuick.OrderByQ< T, TKey > ( this List< T >  source,
Func< T, TKey >  selector 
)
static

◆ OrderByQ< T, TKey >() [3/3]

static T[] TaleWorlds.LinQuick.LinQuick.OrderByQ< T, TKey > ( this IReadOnlyList< T >  source,
Func< T, TKey >  selector 
)
static

◆ SelectQ< T, R >() [1/4]

static IEnumerable< R > TaleWorlds.LinQuick.LinQuick.SelectQ< T, R > ( this T[]  source,
Func< T, R >  selector 
)
static

◆ SelectQ< T, R >() [2/4]

static IEnumerable< R > TaleWorlds.LinQuick.LinQuick.SelectQ< T, R > ( this List< T >  source,
Func< T, R >  selector 
)
static

◆ SelectQ< T, R >() [3/4]

static IEnumerable< R > TaleWorlds.LinQuick.LinQuick.SelectQ< T, R > ( this IReadOnlyList< T >  source,
Func< T, R >  selector 
)
static

◆ SelectQ< T, R >() [4/4]

static IEnumerable< R > TaleWorlds.LinQuick.LinQuick.SelectQ< T, R > ( this IEnumerable< T >  source,
Func< T, R >  selector 
)
static

◆ SumQ< T >() [1/8]

static int TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this T[]  source,
Func< T, int >  func 
)
static

◆ SumQ< T >() [2/8]

static float TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this T[]  source,
Func< T, float >  func 
)
static

◆ SumQ< T >() [3/8]

static int TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this List< T >  source,
Func< T, int >  func 
)
static

◆ SumQ< T >() [4/8]

static float TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this List< T >  source,
Func< T, float >  func 
)
static

◆ SumQ< T >() [5/8]

static int TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this IReadOnlyList< T >  source,
Func< T, int >  func 
)
static

◆ SumQ< T >() [6/8]

static float TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this IReadOnlyList< T >  source,
Func< T, float >  func 
)
static

◆ SumQ< T >() [7/8]

static float TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this IEnumerable< T >  source,
Func< T, float >  func 
)
static

◆ SumQ< T >() [8/8]

static int TaleWorlds.LinQuick.LinQuick.SumQ< T > ( this IEnumerable< T >  source,
Func< T, int >  func 
)
static

◆ ToArrayQ< T >() [1/4]

static T[] TaleWorlds.LinQuick.LinQuick.ToArrayQ< T > ( this T[]  source)
static

◆ ToArrayQ< T >() [2/4]

static T[] TaleWorlds.LinQuick.LinQuick.ToArrayQ< T > ( this List< T >  source)
static

◆ ToArrayQ< T >() [3/4]

static T[] TaleWorlds.LinQuick.LinQuick.ToArrayQ< T > ( this IReadOnlyList< T >  source)
static

◆ ToArrayQ< T >() [4/4]

static T[] TaleWorlds.LinQuick.LinQuick.ToArrayQ< T > ( this IEnumerable< T >  source)
static

◆ ToListQ< T >() [1/4]

static List< T > TaleWorlds.LinQuick.LinQuick.ToListQ< T > ( this T[]  source)
static

◆ ToListQ< T >() [2/4]

static List< T > TaleWorlds.LinQuick.LinQuick.ToListQ< T > ( this List< T >  source)
static

◆ ToListQ< T >() [3/4]

static List< T > TaleWorlds.LinQuick.LinQuick.ToListQ< T > ( this IReadOnlyList< T >  source)
static

◆ ToListQ< T >() [4/4]

static List< T > TaleWorlds.LinQuick.LinQuick.ToListQ< T > ( this IEnumerable< T >  source)
static

◆ WhereQ< T >() [1/4]

static IEnumerable< T > TaleWorlds.LinQuick.LinQuick.WhereQ< T > ( this T[]  source,
Func< T, bool >  predicate 
)
static

◆ WhereQ< T >() [2/4]

static IEnumerable< T > TaleWorlds.LinQuick.LinQuick.WhereQ< T > ( this List< T >  source,
Func< T, bool >  predicate 
)
static

◆ WhereQ< T >() [3/4]

static IEnumerable< T > TaleWorlds.LinQuick.LinQuick.WhereQ< T > ( this IReadOnlyList< T >  source,
Func< T, bool >  predicate 
)
static

◆ WhereQ< T >() [4/4]

static IEnumerable< T > TaleWorlds.LinQuick.LinQuick.WhereQ< T > ( this IEnumerable< T >  source,
Func< T, bool >  predicate 
)
static