2 instantiations of ExtensionBackchannel
Aspire.Cli.Tests (2)
Backchannel\ExtensionBackchannelTests.cs (1)
162
return new
ExtensionBackchannel
(NullLogger<ExtensionBackchannel>.Instance, new ExtensionRpcTarget(configuration, executionContext), configuration, connectCoreAsyncOverride);
Utils\CliTestHelper.cs (1)
609
return new
ExtensionBackchannel
(logger, rpcTarget, configuration);
12 references to ExtensionBackchannel
aspire (5)
Backchannel\ExtensionBackchannel.cs (4)
56
private readonly ActivitySource _activitySource = new(nameof(
ExtensionBackchannel
));
62
private readonly ILogger<
ExtensionBackchannel
> _logger;
67
public ExtensionBackchannel(ILogger<
ExtensionBackchannel
> logger, IExtensionRpcTarget target, IConfiguration configuration)
73
ILogger<
ExtensionBackchannel
> logger,
Program.cs (1)
1341
builder.Services.AddSingleton<IExtensionBackchannel,
ExtensionBackchannel
>();
Aspire.Cli.Tests (7)
Backchannel\ExtensionBackchannelTests.cs (6)
19
var
backchannel = CreateBackchannel("not-a-valid-endpoint", workspace.CreateExecutionContext());
32
var
backchannel = CreateBackchannel(
69
var
backchannel = CreateBackchannel(
110
var
backchannel = CreateBackchannel(
149
private static
ExtensionBackchannel
CreateBackchannel(
162
return new ExtensionBackchannel(NullLogger<
ExtensionBackchannel
>.Instance, new ExtensionRpcTarget(configuration, executionContext), configuration, connectCoreAsyncOverride);
Utils\CliTestHelper.cs (1)
606
var logger = serviceProvider.GetRequiredService<ILogger<
ExtensionBackchannel
>>();