Class TheoryData
Provides data for theories based on collection initialization syntax.
Inheritance
TheoryData
Namespace: Xunit
Assembly: xunit.core.dll
Syntax
public abstract class TheoryData : IEnumerable<object[]>
Methods
| Improve this Doc View SourceAddRow(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. |
GetEnumerator()
Declaration
public IEnumerator<object[]> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<Object[]> |