Contains Class

Summary

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

Syntax

public class Contains : Contains_Syntax

Remarks

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

Methods

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