Class VhUtilsExtensions
Provides the means to replace a timeout while a debugger is attached.
public static class VhUtilsExtensions
- Inheritance
-
VhUtilsExtensions
- Inherited Members
Methods
WhenNoDebugger(TimeSpan)
Returns a timeout, or VhUtils.DebuggerTimeout instead while a debugger is attached and it is set, so a
breakpoint does not time a test out.
public static TimeSpan WhenNoDebugger(this TimeSpan value)
Parameters
valueTimeSpanThe timeout.
Returns
- TimeSpan
The timeout to use.