2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
52internal sealed class ExtensionBackchannel : IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
11internal sealed class TestExtensionBackchannel : IExtensionBackchannel
27 references to IExtensionBackchannel
aspire (13)
Commands\RunCommand.cs (2)
1117var structuredLogSupportProbe = ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out var extensionBackchannel) 1296IExtensionBackchannel extensionBackchannel,
DotNet\DotNetCliRunner.cs (1)
265if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out var extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
17IExtensionBackchannel Backchannel { get; } 46public IExtensionBackchannel Backchannel { get; } 48public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, ILogger<ExtensionInteractionService> logger)
Program.cs (2)
1341builder.Services.AddSingleton<IExtensionBackchannel, ExtensionBackchannel>(); 1355provider.GetRequiredService<IExtensionBackchannel>(),
Projects\DotNetAppHostProject.cs (3)
1449var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out var extensionBackchannel); 1657IExtensionBackchannel? extensionBackchannel, 1698IExtensionBackchannel? extensionBackchannel,
Projects\GuestAppHostProject.cs (1)
651&& ExtensionHelper.IsExtensionHost(_interactionService, out var extensionInteractionService, out var extensionBackchannel)
Utils\ExtensionHelper.cs (1)
15[NotNullWhen(true)] out IExtensionBackchannel? extensionBackchannel)
Aspire.Cli.Tests (14)
Commands\RunCommandTests.cs (10)
3797.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 3841.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 3897.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 3941.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 3984.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4021.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4082.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4125.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4168.AddSingleton<IExtensionBackchannel>(extensionBackchannel) 4206.AddSingleton<IExtensionBackchannel>(extensionBackchannel)
Projects\ExtensionGuestLauncherTests.cs (1)
141public IExtensionBackchannel Backchannel => throw new NotImplementedException();
TestServices\TestExtensionInteractionService.cs (2)
35public IExtensionBackchannel Backchannel { get; } = serviceProvider.GetRequiredService<IExtensionBackchannel>();
Utils\CliTestHelper.cs (1)
604public Func<IServiceProvider, IExtensionBackchannel> ExtensionBackchannelFactory { get; set; } = serviceProvider =>