4 implementations of SubscribeResourcesAsync
Aspire.Dashboard (1)
ResourceService\DashboardClient.cs (1)
425
async Task<ResourceViewModelSubscription> IDashboardClient.
SubscribeResourcesAsync
(CancellationToken cancellationToken)
Aspire.Dashboard.Components.Tests (2)
Controls\ApplicationNameTests.cs (1)
58
public Task<ResourceViewModelSubscription>
SubscribeResourcesAsync
(CancellationToken cancellationToken) => throw new NotImplementedException();
Shared\TestDashboardClient.cs (1)
58
public Task<ResourceViewModelSubscription>
SubscribeResourcesAsync
(CancellationToken cancellationToken)
Aspire.Dashboard.Tests (1)
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
54
public Task<ResourceViewModelSubscription>
SubscribeResourcesAsync
(CancellationToken cancellationToken)
7 references to SubscribeResourcesAsync
Aspire.Dashboard (2)
Model\ResourceOutgoingPeerResolver.cs (1)
29
var (snapshot, subscription) = await resourceService.
SubscribeResourcesAsync
(_watchContainersTokenSource.Token).ConfigureAwait(false);
ResourceService\DashboardClient.cs (1)
33
/// <see cref="IDashboardClient.
SubscribeResourcesAsync
"/> and <see cref="IDashboardClient.SubscribeConsoleLogs"/>
Aspire.Dashboard.Tests (5)
Model\DashboardClientTests.cs (5)
53
var (_, subscription) = await client.
SubscribeResourcesAsync
(CancellationToken.None).DefaultTimeout();
81
var (_, subscription) = await client.
SubscribeResourcesAsync
(CancellationToken.None).DefaultTimeout();
106
await Assert.ThrowsAsync<ObjectDisposedException>(() => client.
SubscribeResourcesAsync
(CancellationToken.None)).DefaultTimeout();
119
_ = await client.
SubscribeResourcesAsync
(CancellationToken.None).DefaultTimeout();
137
var subscribeTask = client.
SubscribeResourcesAsync
(CancellationToken.None);