AndConstraint.

ApplyConstraint<T>(T) Method

Summary

Apply both member constraints to an actual value, succeeding succeeding only if both of them succeed.
Namespace
TCLite.Constraints
Containing Type
AndConstraint

Syntax

protected override ConstraintResult ApplyConstraint<T>(T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The actual value

Return Value

Type Description
ConstraintResult True if the constraints both succeeded