Table of Contents

Class TheoryData<T1, T2, T3, T4, T5>

Namespace
Xunit
Assembly
xunit.v3.core.dll

Represents a set of data for a theory with five parameters. Data can be added to the data set using the collection initializer syntax.

public class TheoryData<T1, T2, T3, T4, T5> : TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>, IReadOnlyCollection<TheoryDataRow<T1, T2, T3, T4, T5>>, IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5>>, IEnumerable

Type Parameters

T1

The first parameter type.

T2

The second parameter type.

T3

The third parameter type.

T4

The fourth parameter type.

T5

The fifth parameter type.

Inheritance
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>
TheoryData<T1, T2, T3, T4, T5>
Implements
IReadOnlyCollection<TheoryDataRow<T1, T2, T3, T4, T5>>
IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5>>
Derived
Inherited Members
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.Count
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.Add((T1, T2, T3, T4, T5))
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.Add(TheoryDataRow<T1, T2, T3, T4, T5>)
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.AddRange(IEnumerable<(T1, T2, T3, T4, T5)>)
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.AddRange(params (T1, T2, T3, T4, T5)[])
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.AddRange(IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5>>)
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.AddRange(params TheoryDataRow<T1, T2, T3, T4, T5>[])
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.Convert((T1, T2, T3, T4, T5))
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5>, (T1, T2, T3, T4, T5)>.GetEnumerator()

Constructors

TheoryData()

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5> class.

TheoryData(IEnumerable<(T1, T2, T3, T4, T5)>)

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5> class.

TheoryData(IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5>>)

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5> class.

TheoryData(params (T1, T2, T3, T4, T5)[])

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5> class.

TheoryData(params TheoryDataRow<T1, T2, T3, T4, T5>[])

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5> class.

Methods

Add(T1, T2, T3, T4, T5)

Adds data to the theory data set.

Convert((T1, T2, T3, T4, T5))

Convert untyped values into the appropriate theory data row.