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