Table of Contents

Method TypeAt

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

TypeAt(int?)

Gets the full name of the type of the element at the given index, if known. Since this uses the item cache produced by enumeration, it may return null when we haven't enumerated enough to see the given element, or if we enumerated so much that the item has left the cache, or if the item at the given index is null. It will also return null when the index is null.

public abstract string? TypeAt(int? index)

Parameters

index int?

The item index

Returns

string