Table of Contents

Class TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

Namespace
Xunit
Assembly
xunit.v3.core.dll

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

public class TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> : TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>, IReadOnlyCollection<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>, IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>, 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.

T6

The sixth parameter type.

T7

The seventh parameter type.

T8

The eighth parameter type.

T9

The ninth parameter type.

T10

The tenth parameter type.

T11

The eleventh parameter type.

T12

The twelfth parameter type.

T13

The thirteenth parameter type.

Inheritance
TheoryDataBase<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>, (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>
TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>
Implements
IReadOnlyCollection<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>
IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>
Derived
Inherited Members

Constructors

TheoryData()

public TheoryData()

TheoryData(IEnumerable<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>)

public TheoryData(IEnumerable<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)> values)

Parameters

values IEnumerable<(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)>

The initial set of values

TheoryData(IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>)

public TheoryData(IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>> values)

Parameters

values IEnumerable<TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>>

The initial set of values

TheoryData(params (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)[])

public TheoryData(params (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)[] values)

Parameters

values (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)[]

The initial set of values

TheoryData(params TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>[])

public TheoryData(params TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>[] values)

Parameters

values TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>[]

The initial set of values

Methods

Add(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

Adds data to the theory data set.

public void Add(T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6, T7 p7, T8 p8, T9 p9, T10 p10, T11 p11, T12 p12, T13 p13)

Parameters

p1 T1

The first data value.

p2 T2

The second data value.

p3 T3

The third data value.

p4 T4

The fourth data value.

p5 T5

The fifth data value.

p6 T6

The sixth data value.

p7 T7

The seventh data value.

p8 T8

The eighth data value.

p9 T9

The ninth data value.

p10 T10

The tenth data value.

p11 T11

The eleventh data value.

p12 T12

The twelfth data value.

p13 T13

The thirteenth data value.

Convert((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))

Convert untyped values into the appropriate theory data row.

protected override TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> Convert((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) row)

Parameters

row (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

The raw data row

Returns

TheoryDataRow<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>