2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
54internal sealed class ExtensionBackchannel : IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
12internal sealed class TestExtensionBackchannel : IExtensionBackchannel
28 references to IExtensionBackchannel
aspire (13)
Commands\RunCommand.cs (2)
1229var structuredLogSupportProbe = ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out var extensionBackchannel) 1408IExtensionBackchannel extensionBackchannel,
DotNet\DotNetCliRunner.cs (1)
270if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out var extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
18IExtensionBackchannel Backchannel { get; } 52public IExtensionBackchannel Backchannel { get; } 54public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, ILogger<ExtensionInteractionService> logger)
Program.cs (2)
1525builder.Services.AddSingleton<IExtensionBackchannel, ExtensionBackchannel>(); 1538provider.GetRequiredService<IExtensionBackchannel>(),
Projects\DotNetAppHostProject.cs (3)
1454var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out var extensionBackchannel); 1702IExtensionBackchannel? extensionBackchannel, 1747IExtensionBackchannel? extensionBackchannel,
Projects\GuestAppHostProject.cs (1)
785&& ExtensionHelper.IsExtensionHost(_interactionService, out var extensionInteractionService, out var extensionBackchannel)
Utils\ExtensionHelper.cs (1)
15[NotNullWhen(true)] out IExtensionBackchannel? extensionBackchannel)
Aspire.Cli.Tests (15)
Commands\RunCommandTests.cs (10)
4523.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4567.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4623.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4667.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4710.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4747.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4808.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4851.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4894.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4932.AddSingleton<IExtensionBackchannel>(extensionBackchannel)
Projects\ExtensionGuestLauncherTests.cs (1)
200public IExtensionBackchannel Backchannel => throw new NotImplementedException();
Projects\GuestAppHostProjectTests.cs (1)
1794.AddSingleton<IExtensionBackchannel>(extensionBackchannel)
TestServices\TestExtensionInteractionService.cs (2)
43public IExtensionBackchannel Backchannel { get; } = serviceProvider.GetRequiredService<IExtensionBackchannel>();
Utils\CliTestHelper.cs (1)
625public Func<IServiceProvider, IExtensionBackchannel> ExtensionBackchannelFactory { get; set; } = serviceProvider =>