Class EnumerableExtensions
- Namespace
- Heleonix.Extensions
- Assembly
- Heleonix.Extensions.dll
Provides functionality to work with enumerables.
public static class EnumerableExtensions
- Inheritance
-
EnumerableExtensions
- Inherited Members
Methods
IsEmpty<T>(IEnumerable<T>)
Determines whether this instance is empty.
public static bool IsEmpty<T>(this IEnumerable<T> instance)
Parameters
instanceIEnumerable<T>The instance.
Returns
- bool
trueif the specified instance is empty; otherwise,false.
Type Parameters
TA type of items.
IsNullOrEmpty<T>(IEnumerable<T>)
Determines whether this instance is null or empty.
public static bool IsNullOrEmpty<T>(this IEnumerable<T> instance)
Parameters
instanceIEnumerable<T>The instance.
Returns
- bool
trueif this instance isnullor empty, otherwise,false.
Type Parameters
TA type of items.