Does Class

Summary

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

Syntax

public abstract class Does : Does_Syntax

Remarks

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

Methods

Name Value Summary
EndWith(string) EndsWithConstraint
Returns a constraint that succeeds if the actual value ends with the substring supplied as an argument.
Inherited from Does_Syntax
static
Match(Regex) RegexConstraint
Returns a constraint that succeeds if the actual value matches the regular expression supplied as an argument.
Inherited from Does_Syntax
static
Match(string, RegexOptions) RegexConstraint
Returns a constraint that succeeds if the actual value matches the regular expression supplied as an argument.
Inherited from Does_Syntax
static
StartWith(string) StartsWithConstraint
Returns a constraint that succeeds if the actual value starts with the substring supplied as an argument.
Inherited from Does_Syntax
static