Table of Contents

Class TheoryDataRow<T1, T2, T3>

Namespace
Xunit
Assembly
xunit.v3.core.dll

Implementation of ITheoryDataRow which accepts three typed values.

public sealed class TheoryDataRow<T1, T2, T3> : TheoryDataRowBase, ITheoryDataRow

Type Parameters

T1

The first parameter type.

T2

The second parameter type.

T3

The third parameter type.

Inheritance
TheoryDataRow<T1, T2, T3>
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the TheoryDataRow<T1, T2, T3> class, encapsulating the three items of typed data.

Constructors

TheoryDataRow(T1, T2, T3)

Implementation of ITheoryDataRow which accepts three typed values.

public TheoryDataRow(T1 p1, T2 p2, T3 p3)

Parameters

p1 T1

The first data value.

p2 T2

The second data value.

p3 T3

The third data value.

Remarks

Initializes a new instance of the TheoryDataRow<T1, T2, T3> class, encapsulating the three items of typed data.

Properties

Data

Gets the row of data.

public (T1, T2, T3) Data { get; }

Property Value

(T1, T2, T3)

Methods

GetData()

Override to implement GetData().

protected override object?[] GetData()

Returns

object[]

Operators

implicit operator TheoryDataRow<T1, T2, T3>((T1, T2, T3))

public static implicit operator TheoryDataRow<T1, T2, T3>((T1, T2, T3) row)

Parameters

row (T1, T2, T3)

Returns

TheoryDataRow<T1, T2, T3>