ExactTypeConstraint.

Matches<TActual>(TActual) Method

Summary

Test that an object is of the exact type specified
Namespace
TCLite.Constraints
Containing Type
ExactTypeConstraint

Syntax

protected override bool Matches<TActual>(TActual actual)

Type Parameters

Name Description
TActual

Parameters

Name Type Description
actual TActual The actual value.

Return Value

Type Description
bool True if the tested object is of the exact type provided, otherwise false.