Skip to main content

Class IEnumerableExtensions

Namespace: Aurigma.DesignAtoms.ExtensionMethods​
Assembly: Aurigma.DesignAtoms.Model.dll​
Syntax
public static class IEnumerableExtensions

Inheritance: System.Object -> IEnumerableExtensions

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Methods​

SliceWhile<T>​

public static IEnumerable<T> SliceWhile<T>(this IEnumerable<T> collection, Func<T, bool> include, bool includeThreshold = false)
Parameters​
TypeNameDescription
System.Collections.Generic.IEnumerable<<T>>collection
System.Func<<T>,System.Boolean>include
System.BooleanincludeThreshold
Returns​

System.Collections.Generic.IEnumerable<<T>>

Empty<T>​

public static bool Empty<T>(this IEnumerable<T> source)
Parameters​
TypeNameDescription
System.Collections.Generic.IEnumerable<<T>>source
Returns​

System.Boolean

ForEach<T>​

public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
Parameters​
TypeNameDescription
System.Collections.Generic.IEnumerable<<T>>source
System.Action<<T>>action

SequenceEqualNullable<T>​

public static bool SequenceEqualNullable<T>(this IEnumerable<T> first, IEnumerable<T> second)
Parameters​
TypeNameDescription
System.Collections.Generic.IEnumerable<<T>>first
System.Collections.Generic.IEnumerable<<T>>second
Returns​

System.Boolean

Was this page helpful?