Table of Contents

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

theoryDataRow TTheoryDataRow

The theory data row

timeout int?

The value to use for timeout, in seconds; pass null to not have a timeout

Returns

TTheoryDataRow

Type Parameters

TTheoryDataRow