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
valueobjectThe value to be formatted
depthintThe optional printing depth (1 indicates a top-level value)