3 implementations of IDebuggerState
Microsoft.Extensions.Http.Diagnostics (3)
src\Shared\Debugger\AttachedDebugger.cs (1)
14
internal sealed class AttachedDebugger :
IDebuggerState
src\Shared\Debugger\DetachedDebugger.cs (1)
14
internal sealed class DetachedDebugger :
IDebuggerState
src\Shared\Debugger\SystemDebugger.cs (1)
16
internal sealed class SystemDebugger :
IDebuggerState
11 references to IDebuggerState
Microsoft.Extensions.Http.Diagnostics (11)
Logging\Internal\HttpRequestBodyReader.cs (1)
36
public HttpRequestBodyReader(LoggingOptions requestOptions,
IDebuggerState
? debugger = null)
Logging\Internal\HttpResponseBodyReader.cs (1)
31
public HttpResponseBodyReader(LoggingOptions responseOptions,
IDebuggerState
? debugger = null)
src\Shared\Debugger\DebuggerExtensions.cs (6)
22
/// Registers system debugger as <see cref="
IDebuggerState
"/> interface.
30
services.TryAddSingleton<
IDebuggerState
>(DebuggerState.System);
36
/// Registers system debugger as <see cref="
IDebuggerState
"/> interface.
44
services.TryAddSingleton<
IDebuggerState
>(DebuggerState.Attached);
50
/// Registers system debugger as <see cref="
IDebuggerState
"/> interface.
58
services.TryAddSingleton<
IDebuggerState
>(DebuggerState.Detached);
src\Shared\Debugger\DebuggerState.cs (3)
20
public static
IDebuggerState
System => SystemDebugger.Instance;
25
public static
IDebuggerState
Attached => AttachedDebugger.Instance;
30
public static
IDebuggerState
Detached => DetachedDebugger.Instance;