Table of Contents

Method Format

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

Format(object?, int)

Formats a value for display.

public static string Format(object? value, int depth = 1)

Parameters

value object

The value to be formatted

depth int

The optional printing depth (1 indicates a top-level value)

Returns

string