3 instantiations of NativeCliProtocol
Aspire.Hosting.Native.Core.Tests (2)
NativeCliProtocolTests.cs (1)
255return 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)
76var first = CreateProtocol(directory.SocketPath); 89using var replacement = CreateProtocol(directory.SocketPath); 251private static NativeCliProtocol CreateProtocol(string path)
TestServices\NativeCliTestHost.cs (1)
21private readonly NativeCliProtocol _protocol;
Aspire.Hosting.Native.Server (1)
NativeServerHostedService.cs (1)
123using var backchannel = settings.BackchannelPath is { } backchannelPath