C# Class NUnit.Framework.Contains

Static helper class used in the constraint-based syntax
Mostra file Open project: antonsamarsky/emitmapper-tools Class Usage Examples

Public Methods

Method Description
Item ( object item ) : Constraint

Creates a new CollectionContainsConstraint.

Substring ( string substring ) : Constraint

Creates a new SubstringConstraint

Method Details

Item() public static method

Creates a new CollectionContainsConstraint.
public static Item ( object item ) : Constraint
item object The item that should be found.
return Constraint

Substring() public static method

Creates a new SubstringConstraint
public static Substring ( string substring ) : Constraint
substring string The value of the substring
return Constraint