Table of Contents

Constructor TheoryData

Namespace
Xunit
Assembly
xunit.v3.core.dll

TheoryData()

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> class.

public TheoryData()

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

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> class.

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

Parameters

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

The initial set of values

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

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> class.

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

Parameters

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

The initial set of values

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

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> class.

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

Parameters

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

The initial set of values

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

Initializes a new instance of the TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> class.

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

Parameters

values

The initial set of values