Table of Contents

Class TheoryData

Namespace
Xunit
Assembly
xunit.v3.core.dll

Represents an untyped set of data for a theory with an unknown number of parameters.

public abstract class TheoryData : TheoryDataBase<TheoryDataRow, object?[]>, IReadOnlyCollection<TheoryDataRow>, IEnumerable<TheoryDataRow>, IEnumerable
Inheritance
TheoryData
Implements
Inherited Members

Remarks

It is strongly recommended that you use TheoryDataBase<TTheoryDataRow, TRawDataRow> as the base type for any strongly typed collections, because it will provide both strong compiler support and wider collection initialization syntax support.

Methods

Convert(object?[])

Convert untyped values into the appropriate theory data row.

protected override TheoryDataRow Convert(object?[] row)

Parameters

row object[]

The raw data row

Returns

TheoryDataRow