ConstraintExpression.

StartsWith(string) Method

Summary

Returns a constraint that succeeds if the actual value starts with the substring supplied as an argument.
Namespace
TCLite.Constraints
Containing Type
ConstraintExpression

Syntax

public StartsWithConstraint StartsWith(string expected)

Parameters

Name Type Description
expected string

Return Value

Type Description
StartsWithConstraint