17 instantiations of NativeCliDashboardUrls
Aspire.Hosting.Native.Core.Tests (13)
NativeCliProtocolTests.cs (7)
103await using var host = NativeCliTestHost.Start(new NativeApplicationServer(), options, () => new(), rpc); 162await using var host = NativeCliTestHost.Start(new NativeApplicationServer(), options, () => new(), rpc); 172var urls = new NativeCliDashboardUrls { BaseUrlWithLoginToken = "http://localhost:48123/login?t=test" }; 189await using var host = NativeCliTestHost.Start(server, new(), () => new()); 214await using var host = NativeCliTestHost.Start(new NativeApplicationServer(), options, () => new()); 240new NativeServerOptions { MaximumCliStreams = 1 }, () => new()); 255return new(path, new NativeApplicationServer(), () => { }, _ => Task.FromResult(new NativeCliDashboardUrls()),
NativeIpcSecurityTests.cs (1)
48await using var cli = NativeCliTestHost.Start(new NativeApplicationServer(), new(), () => new());
NativePipelineTests.cs (2)
26await using var host = NativeCliTestHost.Start(server, new(), () => new()); 221await using var host = NativeCliTestHost.Start(server, new(), () => new());
NativePublishingTests.cs (2)
65await using var host = NativeCliTestHost.Start(server, new(), () => new()); 99await using var host = NativeCliTestHost.Start(server, new(), () => new());
TestServices\NativeAuxiliaryTestHost.cs (1)
56}, Ready.Task.WaitAsync, _ => Task.FromResult(new NativeCliDashboardUrls()), () => null, Logs, new(null, null, null, null),
Aspire.Hosting.Native.Server (4)
Dashboard\DcpDashboard.cs (3)
18private NativeCliDashboardUrls _urls = new() { DashboardHealthy = false }; 73Volatile.Write(ref _urls, new NativeCliDashboardUrls 99Volatile.Write(ref _urls, new NativeCliDashboardUrls { DashboardHealthy = false });
NativeServerHostedService.cs (1)
117dashboardReady.SetResult(new());
15 references to NativeCliDashboardUrls
Aspire.Hosting.Native.Core.Tests (6)
NativeCliProtocolTests.cs (3)
172var urls = new NativeCliDashboardUrls { BaseUrlWithLoginToken = "http://localhost:48123/login?t=test" }; 178var dashboard = await host.Rpc.InvokeAsync<NativeCliDashboardUrls>("GetDashboardUrlsAsync");
TestServices\NativeCliTestHost.cs (3)
29Func<NativeCliDashboardUrls> dashboard, INativeBackchannelRpc rpc) 48Func<NativeCliDashboardUrls> dashboard) => new(server, options, dashboard, 52Func<NativeCliDashboardUrls> dashboard, INativeBackchannelRpc rpc) => new(server, options, dashboard, rpc);
Aspire.Hosting.Native.Server (9)
Auxiliary\NativeAuxiliaryBackchannel.cs (3)
30private readonly Func<CancellationToken, Task<NativeCliDashboardUrls>> _dashboard; 49Func<CancellationToken, Task<NativeCliDashboardUrls>> dashboard, Func<string?> dashboardApiToken, 95var urls = await _dashboard(cancellationToken).ConfigureAwait(false);
Cli\NativeCliDataTypes.cs (1)
53[JsonSerializable(typeof(NativeCliDashboardUrls))]
Cli\NativeCliProtocol.cs (2)
23private readonly Func<CancellationToken, Task<NativeCliDashboardUrls>> _dashboard; 31Func<CancellationToken, Task<NativeCliDashboardUrls>> dashboard, NativeCliLogBuffer logs, NativeServerOptions options,
Dashboard\DcpDashboard.cs (2)
18private NativeCliDashboardUrls _urls = new() { DashboardHealthy = false }; 21public NativeCliDashboardUrls Urls => Volatile.Read(ref _urls);
NativeServerHostedService.cs (1)
114var dashboardReady = new TaskCompletionSource<NativeCliDashboardUrls>(TaskCreationOptions.RunContinuationsAsynchronously);