2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
54
internal sealed class ExtensionBackchannel :
IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
12
internal sealed class TestExtensionBackchannel :
IExtensionBackchannel
29 references to IExtensionBackchannel
aspire (13)
Commands\RunCommand.cs (2)
1234
var structuredLogSupportProbe = ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
1413
IExtensionBackchannel
extensionBackchannel,
DotNet\DotNetCliRunner.cs (1)
319
if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
18
IExtensionBackchannel
Backchannel { get; }
52
public
IExtensionBackchannel
Backchannel { get; }
54
public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService,
IExtensionBackchannel
backchannel, bool extensionPromptEnabled, ILogger<ExtensionInteractionService> logger)
Program.cs (2)
1553
builder.Services.AddSingleton<
IExtensionBackchannel
, ExtensionBackchannel>();
1566
provider.GetRequiredService<
IExtensionBackchannel
>(),
Projects\DotNetAppHostProject.cs (3)
1529
var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out
var
extensionBackchannel);
1777
IExtensionBackchannel
? extensionBackchannel,
1822
IExtensionBackchannel
? extensionBackchannel,
Projects\GuestAppHostProject.cs (1)
865
&& ExtensionHelper.IsExtensionHost(_interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
Utils\ExtensionHelper.cs (1)
15
[NotNullWhen(true)] out
IExtensionBackchannel
? extensionBackchannel)
Aspire.Cli.Tests (16)
Commands\ConfigSourceCommandTests.cs (1)
1500
services.AddSingleton<
IExtensionBackchannel
>(new TestExtensionBackchannel());
Commands\RunCommandTests.cs (10)
4534
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4578
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4634
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4678
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4721
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4758
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4819
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4862
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4905
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
4943
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
Projects\ExtensionGuestLauncherTests.cs (1)
200
public
IExtensionBackchannel
Backchannel => throw new NotImplementedException();
Projects\GuestAppHostProjectTests.cs (1)
2117
.AddSingleton<
IExtensionBackchannel
>(extensionBackchannel)
TestServices\TestExtensionInteractionService.cs (2)
43
public
IExtensionBackchannel
Backchannel { get; } = serviceProvider.GetRequiredService<
IExtensionBackchannel
>();
Utils\CliTestHelper.cs (1)
644
public Func<IServiceProvider,
IExtensionBackchannel
> ExtensionBackchannelFactory { get; set; } = serviceProvider =>