Table of Contents

Class TheoryDataRow<T1>

Namespace
Xunit
Assembly
xunit.v3.core.dll

Implementation of ITheoryDataRow which accepts one typed value.

public sealed class TheoryDataRow<T1> : TheoryDataRowBase, ITheoryDataRow

Type Parameters

T1

The first parameter type.

Inheritance
TheoryDataRow<T1>
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the TheoryDataRow<T1> class, encapsulating the one item of typed data.

Constructors

TheoryDataRow(T1)

Implementation of ITheoryDataRow which accepts one typed value.

public TheoryDataRow(T1 p1)

Parameters

p1 T1

The first data value.

Remarks

Initializes a new instance of the TheoryDataRow<T1> class, encapsulating the one item of typed data.

Properties

Data

Gets the row of data.

public T1 Data { get; }

Property Value

T1

Methods

GetData()

Override to implement GetData().

protected override object?[] GetData()

Returns

object[]

Operators

implicit operator T1(TheoryDataRow<T1>)

public static implicit operator T1(TheoryDataRow<T1> p1)

Parameters

p1 TheoryDataRow<T1>

Returns

T1

implicit operator TheoryDataRow<T1>(T1)

public static implicit operator TheoryDataRow<T1>(T1 p1)

Parameters

p1 T1

Returns

TheoryDataRow<T1>