File: src\Shared\Debugger\IDebuggerState.cs
Web Access
Project: src\src\Libraries\Microsoft.Extensions.Http.Diagnostics\Microsoft.Extensions.Http.Diagnostics.csproj (Microsoft.Extensions.Http.Diagnostics)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
#pragma warning disable CA1716
namespace Microsoft.Shared.Diagnostics;
#pragma warning restore CA1716
 
/// <summary>
/// Abstracts debugger presence to increase testability.
/// </summary>
internal interface IDebuggerState
{
    /// <summary>
    /// Gets a value indicating whether a debugger is attached or not.
    /// </summary>
    public bool IsAttached { get; }
}