NUnit.Framework.CollectionAssert.AllItemsAreUnique C# (CSharp) Méthode

AllItemsAreUnique() public static méthode

Ensures that every object contained in collection exists within the collection once and only once.
public static AllItemsAreUnique ( IEnumerable collection ) : void
collection IEnumerable IEnumerable of objects to be considered
Résultat void
        public static void AllItemsAreUnique (IEnumerable collection) 
        {
            AllItemsAreUnique(collection, string.Empty, null);
        }
        

Same methods

CollectionAssert::AllItemsAreUnique ( IEnumerable collection, string message ) : void