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