1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
473return new ApplicationOrchestrator(
43 references to ApplicationOrchestrator
Aspire.Hosting (10)
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)
468_innerBuilder.Services.AddSingleton<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestrator.cs (1)
51ILogger<ApplicationOrchestrator> logger)
Orchestrator\OrchestratorHostService.cs (2)
12private readonly ApplicationOrchestrator _appOrchestrator; 21ApplicationOrchestrator appOrchestrator,
Aspire.Hosting.Tests (33)
Dcp\ApplicationOrchestratorProxy.cs (2)
10internal ApplicationOrchestratorProxy(ApplicationOrchestrator orchestrator) 15private readonly ApplicationOrchestrator _orchestrator;
DistributedApplicationTests.cs (14)
137var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 182var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 317var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 391var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 470var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 1072var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 1113var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (16)
42var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 90var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 153var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 187var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 255var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 308var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 355var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<ApplicationOrchestrator>()); 380var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 425var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 456private ApplicationOrchestrator CreateOrchestrator( 492serviceProvider.GetRequiredService<ILogger<ApplicationOrchestrator>>() 614var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 661var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 710var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 767var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 822var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
61builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));