Table of Contents

Class VhUtilsExtensions

Namespace
VpnHood.Net.Toolkit.Utils
Assembly
VpnHood.Net.Toolkit.dll

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

value TimeSpan

The timeout.

Returns

TimeSpan

The timeout to use.