Table of Contents

Constructor TheoryData

Namespace
Xunit
Assembly
xunit.v3.core.dll

TheoryData()

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

public TheoryData()

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

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

public TheoryData(IEnumerable<(T1, T2, T3)> values)

Parameters

values IEnumerable<(T1, T2, T3)>

The initial set of values

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

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

public TheoryData(params (T1, T2, T3)[] values)

Parameters

values (T1, T2, T3)[]

The initial set of values

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

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

public TheoryData(IEnumerable<TheoryDataRow<T1, T2, T3>> values)

Parameters

values IEnumerable<TheoryDataRow<T1, T2, T3>>

The initial set of values

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

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

public TheoryData(params TheoryDataRow<T1, T2, T3>[] values)

Parameters

values

The initial set of values