IEnumerableOfTExtensions Class
Extensions of IEnumerable<T>.
Namespace
Songhay.Extensions
Base Types
  • object
graph BT Type-->Base0["object"] Type["IEnumerableOfTExtensions"] class Type type-node

Syntax

public static class IEnumerableOfTExtensions

Remarks

When this ‘greatest hits collection’ is found to be limited, upgrade to MoreLinq [ see https://github.com/morelinq/MoreLINQ ]

Methods

Name Return Value Summary
Flatten<TSource>(IEnumerable<TSource>, Func<TSource, IEnumerable<TSource>>, TSource) IEnumerable<TSource>
Flattens the specified source.
static
Flatten<TSource>(IEnumerable<TSource>?, Func<TSource, IEnumerable<TSource>>?) IEnumerable<TSource>
Flattens the specified source.
static
ForEachInEnumerable<TEnumerable>(IEnumerable<TEnumerable>?, Action<TEnumerable, int>?) void
Performs the Action on each item in the enumerable object.
static
ForEachInEnumerable<TEnumerable>(IEnumerable<TEnumerable>?, Action<TEnumerable>?) void
Performs the Action on each item in the enumerable object.
static
Partition<T>(IEnumerable<T>, int) IEnumerable<IEnumerable<T>>
Partitions the specified source.
static
SelectWithPrevious<TSource, TResult>(IEnumerable<TSource>, Func<TSource, TSource, TResult>) IEnumerable<TResult>
Projects the previous item with the current item.
static
ToCollection<TEnumerable>(IEnumerable<TEnumerable>?) ICollection<TEnumerable>
Converts the IEnumerable<TEnumerable> into ICollection<TEnumerable>.
static
ToDisplayString<TSource>(IEnumerable<TSource>, byte) string
Converts the IEnumerable<TSource> into a display string.
static
ToDisplayString<TSource>(IEnumerable<TSource>) string
Converts the IEnumerable<TSource> into a display string.
static