2 implementations of IExtensionBackchannel
aspire (1)
Backchannel\ExtensionBackchannel.cs (1)
51
internal sealed class ExtensionBackchannel :
IExtensionBackchannel
Aspire.Cli.Tests (1)
TestServices\TestExtensionBackchannel.cs (1)
11
internal sealed class TestExtensionBackchannel :
IExtensionBackchannel
13 references to IExtensionBackchannel
aspire (9)
DotNet\DotNetCliRunner.cs (1)
117
if (ExtensionHelper.IsExtensionHost(interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
Interaction\ExtensionInteractionService.cs (3)
16
IExtensionBackchannel
Backchannel { get; }
35
public
IExtensionBackchannel
Backchannel { get; }
37
public ExtensionInteractionService(ConsoleInteractionService consoleInteractionService,
IExtensionBackchannel
backchannel, bool extensionPromptEnabled, CancellationToken? cancellationToken = null)
Program.cs (2)
795
builder.Services.AddSingleton<
IExtensionBackchannel
, ExtensionBackchannel>();
806
provider.GetRequiredService<
IExtensionBackchannel
>(),
Projects\DotNetAppHostProject.cs (1)
211
var isExtensionHost = ExtensionHelper.IsExtensionHost(_interactionService, out _, out
var
extensionBackchannel);
Projects\GuestAppHostProject.cs (1)
504
&& ExtensionHelper.IsExtensionHost(_interactionService, out var extensionInteractionService, out
var
extensionBackchannel)
Utils\ExtensionHelper.cs (1)
15
[NotNullWhen(true)] out
IExtensionBackchannel
? extensionBackchannel)
Aspire.Cli.Tests (4)
Projects\ExtensionGuestLauncherTests.cs (1)
139
public
IExtensionBackchannel
Backchannel => throw new NotImplementedException();
TestServices\TestExtensionInteractionService.cs (2)
26
public
IExtensionBackchannel
Backchannel { get; } = serviceProvider.GetRequiredService<
IExtensionBackchannel
>();
Utils\CliTestHelper.cs (1)
453
public Func<IServiceProvider,
IExtensionBackchannel
> ExtensionBackchannelFactory { get; set; } = serviceProvider =>