Method WithTimeout
- Namespace
- Xunit
- Assembly
- xunit.v3.core.dll
WithTimeout<TTheoryDataRow>(TTheoryDataRow, int?)
Sets the timeout on a theory data row.
public static TTheoryDataRow WithTimeout<TTheoryDataRow>(this TTheoryDataRow theoryDataRow, int? timeout) where TTheoryDataRow : TheoryDataRowBase
Parameters
theoryDataRowTTheoryDataRowThe theory data row
timeoutint?The value to use for timeout, in seconds; pass
nullto not have a timeout
Returns
- TTheoryDataRow
Type Parameters
TTheoryDataRow