1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
449return new ApplicationOrchestrator(
34 references to ApplicationOrchestrator
Aspire.Hosting (9)
ApplicationModel\CommandsConfigurationExtensions.cs (6)
24var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>(); 57var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>(); 90var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>();
DistributedApplicationBuilder.cs (1)
370_innerBuilder.Services.AddSingleton<ApplicationOrchestrator>();
Orchestrator\OrchestratorHostService.cs (2)
12private readonly ApplicationOrchestrator _appOrchestrator; 21ApplicationOrchestrator appOrchestrator,
Aspire.Hosting.Tests (25)
Dcp\ApplicationOrchestratorProxy.cs (2)
10internal ApplicationOrchestratorProxy(ApplicationOrchestrator orchestrator) 15private readonly ApplicationOrchestrator _orchestrator;
DistributedApplicationTests.cs (12)
128var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 171var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 246var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 323var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 625var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 668var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (10)
32var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 79var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 141var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 174var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 241var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 293var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 340var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<ApplicationOrchestrator>()); 364var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 408var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 439private static ApplicationOrchestrator CreateOrchestrator(
Utils\TestDistributedApplicationBuilder.cs (1)
59builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));