Show / Hide Table of Contents

Class TheoryData<T>

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

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

The parameter type.

Methods

| Improve this Doc View Source

Add(T)

Adds data to the theory data set.

Declaration
public void Add(T p)
Parameters
Type Name Description
T p

The data value.

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