Skip to content

IEnumerableEx

Inherits object

Public Static Functions

IEnumerable>

ConcatMany(this IEnumerable> collection, IEnumerable> toJoin)

IEnumerable>

ConcatMany(this IEnumerable collection, IEnumerable> toJoin)

IEnumerable>

ConcatMany(this IEnumerable> collection, IEnumerable toJoin)

IEnumerable

EmptyIfNull(this IEnumerable? collection)

IEnumerable>

WhereAny(this IEnumerable> collection, Func predicate)

IEnumerable>

WhereAll(this IEnumerable> collection, Func predicate)

IEnumerable

Except(this IEnumerable source, TSource value)

bool

ContainsAll(this IEnumerable source, IEnumerable set)

IEnumerable

WhereNot(this IEnumerable source, Func predicate)

bool

ContainsSequence(this IEnumerable source, IEnumerable sequence, IEqualityComparer? comparer)

T

TakeRandom(this IEnumerable source)

IEnumerable>

CrossProduct(this IEnumerable> source)

K

CrossProduct(this IEnumerable> source, Func>, K> joiner)

int

IndexOfKey(this IEnumerable> enumerable, K key)

Dictionary

ToDictionary(this IEnumerable> values)

IEnumerable

DistinctBy(this IEnumerable source, Func keySelector, IEqualityComparer comparer)

byte

GetChecksum(this Span array)

bool

Overlaps(this IEnumerable arr, IEnumerable other)

bool

Overlaps(this IEnumerable arr, IEnumerable other, IEqualityComparer comparer)

int

IndexOf(this IEnumerable sequence, Predicate predicate)

Private Attributes

Random

_rng