1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
451return new ApplicationOrchestrator(
36 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)
376_innerBuilder.Services.AddSingleton<ApplicationOrchestrator>();
Orchestrator\OrchestratorHostService.cs (2)
12private readonly ApplicationOrchestrator _appOrchestrator; 21ApplicationOrchestrator appOrchestrator,
Aspire.Hosting.Tests (27)
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>(); 630var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 673var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (12)
34var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 81var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 143var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 176var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 243var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 295var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 342var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<ApplicationOrchestrator>()); 366var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 410var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 441private static ApplicationOrchestrator CreateOrchestrator( 567var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 613var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
59builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));