ConstraintExpression.

TypeOf(Type) Method

Summary

Returns a constraint that tests whether the actual value is of the exact type supplied as an argument.
Namespace
TCLite.Constraints
Containing Type
ConstraintExpression

Syntax

public ExactTypeConstraint TypeOf(Type expectedType)

Parameters

Name Type Description
expectedType Type

Return Value

Type Description
ExactTypeConstraint