Table of Contents

Class TheoryDataRow

Namespace
Xunit
Assembly
xunit.v3.core.dll

Implementation of ITheoryDataRow which accepts untyped pre-enumerated data.

public class TheoryDataRow : TheoryDataRowBase, ITheoryDataRow
Inheritance
TheoryDataRow
Implements
Inherited Members
Extension Methods

Remarks

It is strongly recommended that you use one of the generic typed variations when possible, as this provides type-safety from the compiler and allows the analyzers to flag instances where data types from theory data don't match the data types in theory parameters.

Constructors

TheoryDataRow(params object?[])

Implementation of ITheoryDataRow which accepts untyped pre-enumerated data.

public TheoryDataRow(params object?[] data)

Parameters

data object[]

The data for the theory row

Remarks

It is strongly recommended that you use one of the generic typed variations when possible, as this provides type-safety from the compiler and allows the analyzers to flag instances where data types from theory data don't match the data types in theory parameters.

Properties

Data

Gets the row of data.

public object?[] Data { get; }

Property Value

object[]

Methods

GetData()

Override to implement GetData().

protected override object?[] GetData()

Returns

object[]