Table of Contents

Constructor TheoryData

Namespace
Xunit
Assembly
xunit.v3.core.dll

TheoryData()

Initializes a new instance of the TheoryData<T> class.

public TheoryData()

TheoryData(IEnumerable<T>)

Initializes a new instance of the TheoryData<T> class.

public TheoryData(IEnumerable<T> values)

Parameters

values IEnumerable<T>

The initial set of values

TheoryData(params T[])

Initializes a new instance of the TheoryData<T> class.

public TheoryData(params T[] values)

Parameters

values T[]

The initial set of values

TheoryData(IEnumerable<TheoryDataRow<T>>)

Initializes a new instance of the TheoryData<T> class.

public TheoryData(IEnumerable<TheoryDataRow<T>> values)

Parameters

values IEnumerable<TheoryDataRow<T>>

The initial set of values

TheoryData(params TheoryDataRow<T>[])

Initializes a new instance of the TheoryData<T> class.

public TheoryData(params TheoryDataRow<T>[] values)

Parameters

values

The initial set of values