37 instantiations of DashboardUrlsState
Aspire.Cli.Tests (37)
Commands\AppHostLauncherTests.cs (11)
182
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
231
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
264
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
293
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
321
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
349
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
378
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
407
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
456
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
559
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
595
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "https://localhost:18888/login?t=test" },
Commands\DescribeCommandTests.cs (2)
703
], dashboardUrlsState: new
DashboardUrlsState
773
], dashboardUrlsState: new
DashboardUrlsState
Commands\PsCommandTests.cs (4)
130
DashboardUrlsState = new
DashboardUrlsState
320
DashboardUrlsState = new
DashboardUrlsState
365
DashboardUrlsState = new
DashboardUrlsState
853
return Task.FromResult(new
DashboardUrlsState
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1098
Task.FromResult(new
DashboardUrlsState
Commands\RunCommandTests.cs (12)
555
return new
DashboardUrlsState
{ DashboardHealthy = true };
1444
return new
DashboardUrlsState
{ DashboardHealthy = true };
1501
GetDashboardUrlsAsyncCallback = _ => Task.FromResult(new
DashboardUrlsState
{ DashboardHealthy = true })
1687
return new
DashboardUrlsState
{ DashboardHealthy = true };
1873
return new
DashboardUrlsState
{ DashboardHealthy = true };
2169
GetDashboardUrlsAsyncCallback = _ => Task.FromResult(new
DashboardUrlsState
2435
return Task.FromResult(new
DashboardUrlsState
2540
appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new
DashboardUrlsState
2610
appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new
DashboardUrlsState
2681
appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new
DashboardUrlsState
4513
appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new
DashboardUrlsState
4587
appHostBackchannel.GetDashboardUrlsAsyncCallback = (ct) => Task.FromResult(new
DashboardUrlsState
Mcp\ExcludeFromMcpTests.cs (2)
124
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
157
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
Mcp\ListResourcesToolTests.cs (4)
35
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
80
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
116
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
157
DashboardUrlsState = new
DashboardUrlsState
{ BaseUrlWithLoginToken = "http://localhost:18888" }
TestServices\TestAppHostCliBackchannel.cs (1)
62
new
DashboardUrlsState
38 references to DashboardUrlsState
aspire (23)
Backchannel\AppHostAuxiliaryBackchannel.cs (4)
291
public async Task<
DashboardUrlsState
?> GetDashboardUrlsAsync(CancellationToken cancellationToken = default)
302
var
dashboardUrls = await rpc.InvokeWithProfilingAsync<
DashboardUrlsState
?>(
569
var
urlsState = await GetDashboardUrlsAsync(cancellationToken).ConfigureAwait(false);
Backchannel\AppHostCliBackchannel.cs (4)
19
Task<
DashboardUrlsState
> GetDashboardUrlsAsync(CancellationToken cancellationToken);
110
public async Task<
DashboardUrlsState
> GetDashboardUrlsAsync(CancellationToken cancellationToken)
120
var
state = await rpc.InvokeWithProfilingAsync<
DashboardUrlsState
>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
25
[JsonSerializable(typeof(
DashboardUrlsState
))]
Backchannel\ExtensionBackchannel.cs (2)
32
Task DisplayDashboardUrlsAsync(
DashboardUrlsState
dashboardUrls, CancellationToken cancellationToken);
469
public async Task DisplayDashboardUrlsAsync(
DashboardUrlsState
dashboardUrls, CancellationToken cancellationToken)
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
76
Task<
DashboardUrlsState
?> GetDashboardUrlsAsync(CancellationToken cancellationToken = default);
Commands\AppHostLauncher.cs (3)
475
private record LaunchResult(IProcessExecution? ChildProcess, IAppHostAuxiliaryBackchannel? Backchannel,
DashboardUrlsState
? DashboardUrls, bool ChildExitedEarly, int ChildExitCode, DateTimeOffset? ChildStartedAt = null);
535
DashboardUrlsState
? dashboardUrls = null;
922
var
dashboardUrls = result.DashboardUrls;
Commands\PsCommand.cs (1)
373
var
dashboardUrls = await connection.GetDashboardUrlsAsync(cancellationToken).ConfigureAwait(false);
Commands\RunCommand.cs (3)
438
var
dashboardUrls = startup.DashboardUrls;
908
DashboardUrlsState
dashboardUrls;
933
DashboardUrlsState
DashboardUrls,
Interaction\ExtensionInteractionService.cs (2)
22
void DisplayDashboardUrls(
DashboardUrlsState
dashboardUrls);
433
public void DisplayDashboardUrls(
DashboardUrlsState
dashboardUrls)
Mcp\Tools\ListResourcesTool.cs (1)
78
var
dashboardUrls = await dashboardUrlsTask.ConfigureAwait(false);
Telemetry\ProfilingTelemetry.cs (1)
961
public void SetAppHostDashboardUrls(
DashboardUrlsState
? dashboardUrls)
Aspire.Cli.Tests (15)
Commands\DescribeCommandTests.cs (1)
935
DashboardUrlsState
? dashboardUrlsState = null,
Commands\PsCommandTests.cs (1)
849
public Task<
DashboardUrlsState
> GetDashboardUrlsAsync(CancellationToken cancellationToken = default)
Commands\PublishCommandPromptingIntegrationTests.cs (1)
1097
public Task<
DashboardUrlsState
> GetDashboardUrlsAsync(CancellationToken cancellationToken) =>
Commands\RunCommandTests.cs (2)
1560
return Task.FromCanceled<
DashboardUrlsState
>(ct);
1623
return Task.FromCanceled<
DashboardUrlsState
>(unrelatedCts.Token);
Commands\TerminalCommandTests.cs (1)
692
public Task<global::Aspire.Cli.Backchannel.
DashboardUrlsState
?> GetDashboardUrlsAsync(CancellationToken cancellationToken = default)
Projects\ExtensionGuestLauncherTests.cs (1)
154
public void DisplayDashboardUrls(
DashboardUrlsState
dashboardUrls) => throw new NotImplementedException();
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
38
public
DashboardUrlsState
? DashboardUrlsState { get; set; }
108
public Task<
DashboardUrlsState
?> GetDashboardUrlsAsync(CancellationToken cancellationToken = default)
TestServices\TestAppHostCliBackchannel.cs (2)
16
public Func<CancellationToken, Task<
DashboardUrlsState
>>? GetDashboardUrlsAsyncCallback { get; set; }
56
public Task<
DashboardUrlsState
> GetDashboardUrlsAsync(CancellationToken cancellationToken)
TestServices\TestExtensionBackchannel.cs (2)
41
public Func<
DashboardUrlsState
, Task>? DisplayDashboardUrlsAsyncCallback { get; set; }
146
public Task DisplayDashboardUrlsAsync(
DashboardUrlsState
dashboardUrls, CancellationToken cancellationToken)
TestServices\TestExtensionInteractionService.cs (2)
23
public Action<
DashboardUrlsState
>? DisplayDashboardUrlsCallback { get; set; }
127
public void DisplayDashboardUrls(
DashboardUrlsState
dashboardUrls)