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
-
TheoryDataBase<TheoryDataRow, object[]>.CountTheoryDataBase<TheoryDataRow, object[]>.Add(object[])TheoryDataBase<TheoryDataRow, object[]>.Add(TheoryDataRow)TheoryDataBase<TheoryDataRow, object[]>.AddRange(IEnumerable<object[]>)TheoryDataBase<TheoryDataRow, object[]>.AddRange(params object[][])TheoryDataBase<TheoryDataRow, object[]>.AddRange(IEnumerable<TheoryDataRow>)TheoryDataBase<TheoryDataRow, object[]>.AddRange(params TheoryDataRow[])TheoryDataBase<TheoryDataRow, object[]>.Convert(object[])TheoryDataBase<TheoryDataRow, object[]>.GetEnumerator()
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.