2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
50internal sealed class ExtensionBackchannel : IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
11internal sealed class TestExtensionBackchannel : IExtensionBackchannel
11 references to IExtensionBackchannel
aspire (8)
DotNet\DotNetCliRunner.cs (1)
115if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out var extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
15IExtensionBackchannel Backchannel { get; } 34public IExtensionBackchannel Backchannel { get; } 36public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService, IExtensionBackchannel backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (2)
658builder.Services.AddSingleton<IExtensionBackchannel, ExtensionBackchannel>(); 669provider.GetRequiredService<IExtensionBackchannel>(),
Projects\DotNetAppHostProject.cs (1)
196var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out var extensionBackchannel);
Utils\ExtensionHelper.cs (1)
15[NotNullWhen(true)] out IExtensionBackchannel? extensionBackchannel)
Aspire.Cli.Tests (3)
TestServices\TestExtensionInteractionService.cs (2)
23public IExtensionBackchannel Backchannel { get; } = serviceProvider.GetRequiredService<IExtensionBackchannel>();
Utils\CliTestHelper.cs (1)
421public Func<IServiceProvider, IExtensionBackchannel> ExtensionBackchannelFactory { get; set; } = serviceProvider =>