TypeConstraint.

ApplyConstraint<T>(T) Method

Summary

Applies the constraint to an actual value, returning a ConstraintResult.
Namespace
TCLite.Constraints
Containing Type
TypeConstraint

Syntax

protected override ConstraintResult ApplyConstraint<T>(T actual)

Type Parameters

Name Description
T

Parameters

Name Type Description
actual T The value to be tested

Return Value

Type Description
ConstraintResult A ConstraintResult