1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
454return new ApplicationOrchestrator(
39 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 (30)
Dcp\ApplicationOrchestratorProxy.cs (2)
10internal ApplicationOrchestratorProxy(ApplicationOrchestrator orchestrator) 15private readonly ApplicationOrchestrator _orchestrator;
DistributedApplicationTests.cs (12)
134var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 177var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 252var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 329var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 648var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 691var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (15)
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( 570var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 616var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 664var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 720var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 774var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
59builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));