Property TimeoutAsNullable
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.aot.dll
TimeoutAsNullable
Gets or sets a value to determine if the data rows provided by this data provider should include a timeout (in milliseconds). If greater than zero, the data rows will have the given timeout; if zero or less, the data rows will not have a timeout; if unset, the data rows will inherit their timeout from FactAttribute.Timeout.
protected int? TimeoutAsNullable { get; set; }
Property Value
- int?
Remarks
.NET Framework does not permit attributes to have nullable value types for settable properties, so this property is also here to be able to detect unset values. Getting Timeout when a value hasn't been set will throw an InvalidOperationException.