Table of Contents

Class TheoryDataBase<TTheoryDataRow, TRawDataRow>

Namespace
Xunit
Assembly
xunit.v3.core.dll

Provides a base type for theories based on collection initialization syntax.

public abstract class TheoryDataBase<TTheoryDataRow, TRawDataRow> : IReadOnlyCollection<TTheoryDataRow>, IEnumerable<TTheoryDataRow>, IEnumerable where TTheoryDataRow : class, ITheoryDataRow

Type Parameters

TTheoryDataRow

The type of the theory data row (must implement ITheoryDataRow).

TRawDataRow

The raw data row that requires conversion to TTheoryDataRow.

Inheritance
TheoryDataBase<TTheoryDataRow, TRawDataRow>
Implements
IReadOnlyCollection<TTheoryDataRow>
IEnumerable<TTheoryDataRow>
Derived
Inherited Members

Properties

Count

Methods

Add(TTheoryDataRow)

Adds a row to the theory.

Add(TRawDataRow)

Adds a row to the theory.

AddRange(IEnumerable<TTheoryDataRow>)

Adds multiple rows to the theory.

AddRange(IEnumerable<TRawDataRow>)

Adds multiple rows to the theory.

AddRange(params TTheoryDataRow[])

Adds multiple rows to the theory.

AddRange(params TRawDataRow[])

Adds multiple rows to the theory.

Convert(TRawDataRow)

Convert untyped values into the appropriate theory data row.

GetEnumerator()