3 instantiations of NativeCliProtocol
Aspire.Hosting.Native.Core.Tests (2)
NativeCliProtocolTests.cs (1)
255
return
new
(path, new NativeApplicationServer(), () => { }, _ => Task.FromResult(new NativeCliDashboardUrls()),
TestServices\NativeCliTestHost.cs (1)
34
_protocol =
new
(path, server, _lifetime.Cancel, _ => Task.FromResult(dashboard()), Logs, options, rpc);
Aspire.Hosting.Native.Server (1)
NativeServerHostedService.cs (1)
124
? new
NativeCliProtocol
(backchannelPath, server, applicationLifetime.StopApplication,
5 references to NativeCliProtocol
Aspire.Hosting.Native.Core.Tests (4)
NativeCliProtocolTests.cs (3)
76
var
first = CreateProtocol(directory.SocketPath);
89
using
var
replacement = CreateProtocol(directory.SocketPath);
251
private static
NativeCliProtocol
CreateProtocol(string path)
TestServices\NativeCliTestHost.cs (1)
21
private readonly
NativeCliProtocol
_protocol;
Aspire.Hosting.Native.Server (1)
NativeServerHostedService.cs (1)
123
using
var
backchannel = settings.BackchannelPath is { } backchannelPath