Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AssertUtils.ArgumentHasLength Method

Checks the value of the supplied ICollectionargument and throws an ArgumentNullException if it is a null reference (Nothing in Visual Basic) or contains no elements.

Overload List

Checks the value of the supplied ICollectionargument and throws an ArgumentNullException if it is a null reference (Nothing in Visual Basic) or contains no elements.

public static void ArgumentHasLength(ICollection,string)

Checks the value of the supplied ICollectionargument and throws an ArgumentNullException if it is a null reference (Nothing in Visual Basic) or contains no elements.

public static void ArgumentHasLength(ICollection,string,string)

See Also

AssertUtils Class | Spring.Util Namespace