Constraint.

ApplyTo<T>(T) Method

Summary

Validates the actual value argument and applies the constraint to it, returning a ConstraintResult.
Namespace
TCLite.Constraints
Containing Type
Constraint

Syntax

public ConstraintResult ApplyTo<T>(ref T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T A reference to the value to be tested

Return Value

Type Description
ConstraintResult A ConstraintResult