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()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public static class IEnumerableExtensions
Methods
Empty<T>(IEnumerable<T>)
Declaration
public static bool Empty<T>(this IEnumerable<T> source)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T> |
source |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
ForEach<T>(IEnumerable<T>, Action<T>)
Declaration
public static void ForEach<T>(this IEnumerable<T> source, Action<T> action)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T> |
source |
|
| System.Action<T> |
action |
|
Type Parameters
SequenceEqualNullable<T>(IEnumerable<T>, IEnumerable<T>)
Declaration
public static bool SequenceEqualNullable<T>(this IEnumerable<T> first, IEnumerable<T> second)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T> |
first |
|
| System.Collections.Generic.IEnumerable<T> |
second |
|
Returns
| Type |
Description |
| System.Boolean |
|
Type Parameters
SliceWhile<T>(IEnumerable<T>, Func<T, Boolean>, Boolean)
Declaration
public static IEnumerable<T> SliceWhile<T>(this IEnumerable<T> collection, Func<T, bool> include, bool includeThreshold = false)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IEnumerable<T> |
collection |
|
| System.Func<T, System.Boolean> |
include |
|
| System.Boolean |
includeThreshold |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<T> |
|
Type Parameters