2 instantiations of ExtensionBackchannel
Aspire.Cli.Tests (2)
Backchannel\ExtensionBackchannelTests.cs (1)
181
return new
ExtensionBackchannel
(
Utils\CliTestHelper.cs (1)
618
return new
ExtensionBackchannel
(logger, rpcTarget, configuration);
12 references to ExtensionBackchannel
aspire (5)
Backchannel\ExtensionBackchannel.cs (4)
57
private readonly ActivitySource _activitySource = new(nameof(
ExtensionBackchannel
));
63
private readonly ILogger<
ExtensionBackchannel
> _logger;
69
public ExtensionBackchannel(ILogger<
ExtensionBackchannel
> logger, IExtensionRpcTarget target, IConfiguration configuration)
75
ILogger<
ExtensionBackchannel
> logger,
Program.cs (1)
1434
builder.Services.AddSingleton<IExtensionBackchannel,
ExtensionBackchannel
>();
Aspire.Cli.Tests (7)
Backchannel\ExtensionBackchannelTests.cs (6)
36
var
backchannel = CreateBackchannel("not-a-valid-endpoint", workspace.CreateExecutionContext());
49
var
backchannel = CreateBackchannel(
86
var
backchannel = CreateBackchannel(
127
var
backchannel = CreateBackchannel(
168
private
ExtensionBackchannel
CreateBackchannel(
182
NullLogger<
ExtensionBackchannel
>.Instance,
Utils\CliTestHelper.cs (1)
615
var logger = serviceProvider.GetRequiredService<ILogger<
ExtensionBackchannel
>>();