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
instance
IEnumerable<T>The instance.
Returns
- bool
true
if the specified instance is empty; otherwise,false
.
Type Parameters
T
A 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
instance
IEnumerable<T>The instance.
Returns
- bool
true
if this instance isnull
or empty, otherwise,false
.
Type Parameters
T
A type of items.