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