Has Class

Summary

Helper class exposing properties and methods that form part of the Constraint syntax in the primary namespace.
Namespace
TCLite
Base Types
graph BT Type-->Base0["Has_Syntax"] click Base0 "/tc-lite/api/TCLite.Constraints/Has_Syntax" Base0-->Base1["object"] Type["Has"] class Type type-node

Syntax

public class Has : Has_Syntax

Remarks

The actual syntactic elements are defined in the base class, Has_Syntax, a partial class, with individual elements distributed across multiple files.

Properties

Name Value Summary
One ItemsConstraintExpression
Returns a TCLite.ItemsConstraintExpression which will apply the following constraint to only one member of the collection, and fail if none or more than one match occurs.
Inherited from Has_Syntax
static

Methods

Name Value Summary
Exactly(int) ItemsConstraintExpression
Inherited from Has_Syntax
static
Substring(string) SubstringConstraint
Returns a constraint that succeeds if the actual value contains the substring supplied as an argument.
Inherited from Has_Syntax
static