Is_Syntax.

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
Is_Syntax

Syntax

public static InstanceOfTypeConstraint InstanceOf(Type expectedType)

Parameters

Name Type Description
expectedType Type

Return Value

Type Description
InstanceOfTypeConstraint