NUnit.Framework.Constraints.ContainsConstraint Class
ContainsConstraint tests a whether a string contains a substring or a collection contains an object. It postpones the decision of which test to use until the type of the actual argument is known. This allows testing whether a string is contained in a collection or as a substring of another string using the same syntax.

See Also: ContainsConstraint Members


public class ContainsConstraint : Constraint


Documentation for this section has not yet been entered.


Namespace: NUnit.Framework.Constraints
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions:,