Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.HasUniqueObject Method

Determine whether a given collection only contains a single unique object

[Visual Basic]
Public Shared Sub HasUniqueObject( _
   ByVal coll As ICollection _
)
[C#]
public static bool HasUniqueObject(
   ICollection coll
);

Parameters

coll

Return Value

See Also

CollectionUtils Class | Spring.Util Namespace