Class ListExtensions

Inheritance
System.Object
ListExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ETLBox.Helper
Assembly: ETLBox.dll
Syntax
    public static class ListExtensions

Methods

Batch<T>(IEnumerable<T>, Int32)

Declaration
    public static IEnumerable<IEnumerable<T>> Batch<T>(this IEnumerable<T> source, int size)
Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<T>source
System.Int32size
Returns
TypeDescription
System.Collections.Generic.IEnumerable<System.Collections.Generic.IEnumerable<T>>
Type Parameters
NameDescription
T

DecideForList<T>(ICollection<T>, ICollection<T>)

Declaration
    public static ICollection<T> DecideForList<T>(ICollection<T> firstList, ICollection<T> secondList)
Parameters
TypeNameDescription
System.Collections.Generic.ICollection<T>firstList
System.Collections.Generic.ICollection<T>secondList
Returns
TypeDescription
System.Collections.Generic.ICollection<T>
Type Parameters
NameDescription
T