3 instantiations of AtsContextFactory
Aspire.Hosting.RemoteHost.Tests (3)
CodeGeneration\ApiReferenceExportTests.cs (1)
244var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry);
ServiceErrorMessageTests.cs (2)
95var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry); 132var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry);
13 references to AtsContextFactory
Aspire.Hosting.RemoteHost (5)
AtsContextFactory.cs (1)
21ILogger<AtsContextFactory> logger,
CodeGeneration\CodeGenerationService.cs (2)
23private readonly AtsContextFactory _atsContextFactory; 31AtsContextFactory atsContextFactory,
RemoteHostServer.cs (2)
82services.AddSingleton<AtsContextFactory>(); 83services.AddSingleton(sp => sp.GetRequiredService<AtsContextFactory>().GetContext());
Aspire.Hosting.RemoteHost.Tests (8)
CodeGeneration\ApiReferenceExportTests.cs (2)
244var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry);
JsonRpcAuthenticationTests.cs (2)
166services.AddSingleton<Aspire.Hosting.RemoteHost.AtsContextFactory>(); 167services.AddSingleton(sp => sp.GetRequiredService<Aspire.Hosting.RemoteHost.AtsContextFactory>().GetContext());
ServiceErrorMessageTests.cs (4)
95var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry); 132var atsContextFactory = new AtsContextFactory(loader, NullLogger<AtsContextFactory>.Instance, telemetry);