1 interface inheriting from IDashboardClientStatus
Aspire.Dashboard (1)
ResourceService\IDashboardClient.cs (1)
11public interface IDashboardClient : IDashboardClientStatus, IAsyncDisposable
3 implementations of IDashboardClientStatus
Aspire.Dashboard.Tests (3)
Integration\DashboardClientAuthTests.cs (1)
164private sealed class TestDashboardClientStatus : IDashboardClientStatus
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
11public sealed class MockDashboardClientStatus : IDashboardClientStatus
Model\DashboardClientTests.cs (1)
158private sealed class TestDashboardClientStatus : IDashboardClientStatus
11 references to IDashboardClientStatus
Aspire.Dashboard (7)
DashboardWebApplication.cs (3)
235builder.Services.TryAddSingleton<IDashboardClientStatus, DashboardClientStatus>(); 349var client = context.RequestServices.GetRequiredService<IDashboardClientStatus>();
ResourceService\DashboardClient.cs (3)
34/// will throw if <see cref="IDashboardClientStatus.IsEnabled"/> is <see langword="false"/>. Callers should 50private readonly IDashboardClientStatus _dashboardClientStatus; 75IDashboardClientStatus dashboardClientStatus,
ResourceService\DashboardClientStatus.cs (1)
9internal sealed class DashboardClientStatus(IOptions<DashboardOptions> dashboardOptions) : IDashboardClientStatus
Aspire.Dashboard.Components.Tests (1)
Controls\ApplicationNameTests.cs (1)
24Services.AddSingleton<IDashboardClientStatus, DashboardClientStatus>();
Aspire.Dashboard.Tests (3)
Integration\Playwright\Infrastructure\DashboardServerFixture.cs (1)
60builder.Services.AddSingleton<IDashboardClientStatus, MockDashboardClientStatus>();
Integration\Playwright\Infrastructure\MockDashboardClient.cs (2)
20public MockDashboardClient(IDashboardClientStatus dashboardClientStatus) 45private readonly IDashboardClientStatus _dashboardClientStatus;