Method FormatStart
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
FormatStart(int)
Formats the beginning part of the collection.
public override string FormatStart(int depth = 1)
Parameters
depthintThe optional printing depth (1 indicates a top-level value)
Returns
- string
The formatted collection
FormatStart(IEnumerable<T>, int)
Formats the beginning part of a collection.
public static string FormatStart(IEnumerable<T> collection, int depth = 1)
Parameters
collectionIEnumerable<T>The collection to be formatted
depthintThe optional printing depth (1 indicates a top-level value)
Returns
- string
The formatted collection
FormatStart(ReadOnlySpan<T>, int)
Formats the beginning part of a span.
public static string FormatStart(ReadOnlySpan<T> span, int depth = 1)
Parameters
spanReadOnlySpan<T>The span to be formatted
depthintThe optional printing depth (1 indicates a top-level value)
Returns
- string
The formatted span