Export (0) Print
Expand All

CollectionAssert Methods

  NameDescription
Public method Static member AllItemsAreInstancesOfType Overloaded. Verifies that all elements in a specified collection are instances of a specified type.
Public method Static member AllItemsAreNotNull Overloaded. Verifies that all items in a specified collection are not null.
Public method Static member AllItemsAreUnique Overloaded. Verifies that all items in a specified collection are unique.
Public method Static member AreEqual Overloaded. Verifies that specified collections are equal. Two collections are equal if they have the same elements in the same order and quantity. Elements are equal if their values are equal, not if they refer to the same object.
Public method Static member AreEquivalent Overloaded. Verifies that the specified collections are equivalent. Two collections are equivalent if they have the same elements in the same quantity, but in any order. Elements are equal if their values are equal, not if they refer to the same object.
Public method Static member AreNotEqual Overloaded. Verifies that specified collections are not equal.
Public method Static member AreNotEquivalent Overloaded. Verifies that the specified collections are not equivalent.
Public method Static member Contains Overloaded. Verifies that a specified collection contains a specified element.
Public method Static member DoesNotContain Overloaded. Verifies that a specified collection does not contain a specified element.
Public method Static member IsNotSubsetOf Overloaded. Verifies that one collection is not a subset of another collection.
Public method Static member IsSubsetOf Overloaded. Verifies that one collection is a subset of another collection.
Top

Community Additions

ADD
Show:
© 2015 Microsoft