Show / Hide Table of Contents

Class TheoryData<T1, T2>

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

Inheritance
Object
TheoryData
TheoryData<T1, T2>
Inherited Members
TheoryData.AddRow(Object[])
TheoryData.GetEnumerator()
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public class TheoryData<T1, T2> : TheoryData
Type Parameters
Name Description
T1

The first parameter type.

T2

The second parameter type.

Methods

| Improve this Doc View Source

Add(T1, T2)

Adds data to the theory data set.

Declaration
public void Add(T1 p1, T2 p2)
Parameters
Type Name Description
T1 p1

The first data value.

T2 p2

The second data value.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX