ConstraintExpression.

InstanceOf(Type) Method

Summary

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

Syntax

public InstanceOfTypeConstraint InstanceOf(Type expectedType)

Parameters

Name Type Description
expectedType Type

Return Value

Type Description
InstanceOfTypeConstraint