Table of Contents

Class EnumerableExtensions

Namespace
Bunit.Extensions
Assembly
Bunit.Core.dll

Helper methods for working with IEnumerable<T>.

public static class EnumerableExtensions
Inheritance
EnumerableExtensions
Inherited Members

Methods

IsNullOrEmpty<T>(IEnumerable<T>?)

Returns true if the numerable is null or empty.

public static bool IsNullOrEmpty<T>(this IEnumerable<T>? enumerable)

Parameters

enumerable IEnumerable<T>

Returns

bool

Type Parameters

T
.NET Foundation

Supported by the .NET Foundation.