2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
43
internal sealed class ExtensionBackchannel :
IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
10
internal sealed class TestExtensionBackchannel :
IExtensionBackchannel
10 references to IExtensionBackchannel
aspire (7)
Commands\RunCommand.cs (1)
115
var startDebugSession = ExtensionHelper.IsExtensionHost(_interactionService, out _, out
var
extensionBackchannel) && string.Equals(await _interactionService.PromptForSelectionAsync(
Interaction\ExtensionInteractionService.cs (3)
15
IExtensionBackchannel
Backchannel { get; }
28
public
IExtensionBackchannel
Backchannel { get; }
30
public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService,
IExtensionBackchannel
backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (2)
201
builder.Services.AddSingleton<
IExtensionBackchannel
, ExtensionBackchannel>();
209
provider.GetRequiredService<
IExtensionBackchannel
>(),
Utils\ExtensionHelper.cs (1)
18
[NotNullWhen(true)] out
IExtensionBackchannel
? extensionBackchannel)
Aspire.Cli.Tests (3)
TestServices\TestExtensionInteractionService.cs (2)
19
public
IExtensionBackchannel
Backchannel { get; } = serviceProvider.GetRequiredService<
IExtensionBackchannel
>();
Utils\CliTestHelper.cs (1)
241
public Func<IServiceProvider,
IExtensionBackchannel
> ExtensionBackchannelFactory { get; set; } = serviceProvider =>