MsgUtils.

GetTypeRepresentation(object) Method

Summary

Returns the representation of a type as used in NUnitLite. This is the same as Type.ToString() except for arrays, which are displayed with their declared sizes.
Namespace
TCLite.Constraints
Containing Type
MsgUtils

Syntax

public static string GetTypeRepresentation(object obj)

Parameters

Name Type Description
obj object

Return Value

Type Description
string