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