Show / Hide Table of Contents

Class TheoryData

Provides data for theories based on collection initialization syntax.

Inheritance
Object
TheoryData
TheoryData<T>
TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
TheoryData<T1, T2>
TheoryData<T1, T2, T3>
TheoryData<T1, T2, T3, T4>
TheoryData<T1, T2, T3, T4, T5>
TheoryData<T1, T2, T3, T4, T5, T6>
TheoryData<T1, T2, T3, T4, T5, T6, T7>
TheoryData<T1, T2, T3, T4, T5, T6, T7, T8>
TheoryData<T1, T2, T3, T4, T5, T6, T7, T8, T9>
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public abstract class TheoryData : IEnumerable<object[]>

Methods

| Improve this Doc View Source

AddRow(Object[])

Adds a row to the theory.

Declaration
protected void AddRow(params object[] values)
Parameters
Type Name Description
Object[] values

The values to be added.

| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<object[]> GetEnumerator()
Returns
Type Description
IEnumerator<Object[]>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX