2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
52
internal sealed class ExtensionBackchannel :
IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
11
internal sealed class TestExtensionBackchannel :
IExtensionBackchannel
27 references to IExtensionBackchannel
aspire (13)
Commands\RunCommand.cs (2)
1117
var structuredLogSupportProbe = ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
1296
IExtensionBackchannel
extensionBackchannel,
DotNet\DotNetCliRunner.cs (1)
265
if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
17
IExtensionBackchannel
Backchannel { get; }
46
public
IExtensionBackchannel
Backchannel { get; }
48
public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService,
IExtensionBackchannel
backchannel, bool extensionPromptEnabled, ILogger<ExtensionInteractionService> logger)
Program.cs (2)
1341
builder.Services.AddSingleton<
IExtensionBackchannel
, ExtensionBackchannel>();
1355
provider.GetRequiredService<
IExtensionBackchannel
>(),
Projects\DotNetAppHostProject.cs (3)
1449
var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out
var
extensionBackchannel);
1657
IExtensionBackchannel
? extensionBackchannel,
1698
IExtensionBackchannel
? 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)
141
public
IExtensionBackchannel
Backchannel => throw new NotImplementedException();
TestServices\TestExtensionInteractionService.cs (2)
35
public
IExtensionBackchannel
Backchannel { get; } = serviceProvider.GetRequiredService<
IExtensionBackchannel
>();
Utils\CliTestHelper.cs (1)
604
public Func<IServiceProvider,
IExtensionBackchannel
> ExtensionBackchannelFactory { get; set; } = serviceProvider =>