Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.IsEmpty(IEnumerable) Method

Determines whether the specified collection is null or empty.

[Visual Basic]
Public Overloads Shared Sub IsEmpty( _
   ByVal enumerable As IEnumerable _
)
[C#]
public static bool IsEmpty(
   IEnumerable enumerable
);

Parameters

enumerable
The collection to check.

Return Value

true if the specified collection is empty or null; otherwise, false.

See Also

CollectionUtils Class | Spring.Util Namespace | CollectionUtils.IsEmpty Overload List