Class TheoryDataRow<T1, T2, T3, T4>
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
Implementation of ITheoryDataRow which accepts four typed values.
public sealed class TheoryDataRow<T1, T2, T3, T4> : TheoryDataRowBase, ITheoryDataRow
Type Parameters
T1The first parameter type.
T2The second parameter type.
T3The third parameter type.
T4The fourth parameter type.
- Inheritance
-
TheoryDataRow<T1, T2, T3, T4>
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the TheoryDataRow<T1, T2, T3, T4> class, encapsulating the four items of typed data.
Constructors
TheoryDataRow(T1, T2, T3, T4)
Implementation of ITheoryDataRow which accepts four typed values.
public TheoryDataRow(T1 p1, T2 p2, T3 p3, T4 p4)
Parameters
p1T1The first data value.
p2T2The second data value.
p3T3The third data value.
p4T4The fourth data value.
Remarks
Initializes a new instance of the TheoryDataRow<T1, T2, T3, T4> class, encapsulating the four items of typed data.
Properties
Data
Gets the row of data.
public (T1, T2, T3, T4) Data { get; }
Property Value
- (T1, T2, T3, T4)
Methods
GetData()
Override to implement GetData().
protected override object?[] GetData()
Returns
- object[]
Operators
implicit operator TheoryDataRow<T1, T2, T3, T4>((T1, T2, T3, T4))
public static implicit operator TheoryDataRow<T1, T2, T3, T4>((T1, T2, T3, T4) row)
Parameters
row(T1, T2, T3, T4)
Returns
- TheoryDataRow<T1, T2, T3, T4>