8 implementations of ClearConsoleLogsAsync
Aspire.Dashboard (3)
ServiceClient\DashboardClient.cs (1)
1001public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate) =>
ServiceClient\SelectedDashboardClient.cs (1)
46public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate)
ServiceClient\SqliteResourceRepository.cs (1)
388public async Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate)
Aspire.Dashboard.Components.Tests (1)
tests\Shared\TestDashboardClient.cs (1)
118public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate)
Aspire.Dashboard.Tests (4)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
57public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate) => Task.CompletedTask;
ResourceOutgoingPeerResolverTests.cs (1)
700public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate) => Task.CompletedTask;
Terminal\DefaultTerminalConnectionResolverTests.cs (1)
156public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate) => Task.CompletedTask;
tests\Shared\TestDashboardClient.cs (1)
118public Task ClearConsoleLogsAsync(IReadOnlyList<string> resourceNames, DateTime clearDate)
4 references to ClearConsoleLogsAsync
Aspire.Dashboard (3)
Components\Dialogs\ManageDataDialog.razor.cs (1)
574await DataSource.ResourceRepository.ClearConsoleLogsAsync(consoleLogResourceNames, filterDate);
Components\Pages\ConsoleLogs.razor.cs (1)
1242await DataSource.ResourceRepository.ClearConsoleLogsAsync(resourceNames, now);
ServiceClient\SelectedDashboardClient.cs (1)
49return dataSource.ResourceRepository.ClearConsoleLogsAsync(resourceNames, clearDate);
Aspire.Dashboard.Tests (1)
Model\DashboardDataSourceTests.cs (1)
1146var clearException = await Assert.ThrowsAsync<InvalidOperationException>(() => selectedClient.ClearConsoleLogsAsync(["api"], DateTime.UtcNow));