1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
474return new ApplicationOrchestrator(
45 references to ApplicationOrchestrator
Aspire.Hosting (12)
ApplicationModel\CommandsConfigurationExtensions.cs (8)
27var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>(); 60var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>(); 99var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>(); 184var orchestrator = context.ServiceProvider.GetRequiredService<ApplicationOrchestrator>();
DistributedApplicationBuilder.cs (1)
495_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>(); 1112var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (16)
43var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 91var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 154var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 188var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 256var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 309var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 356var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<ApplicationOrchestrator>()); 381var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 426var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 457private ApplicationOrchestrator CreateOrchestrator( 493serviceProvider.GetRequiredService<ILogger<ApplicationOrchestrator>>() 615var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 662var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 711var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 768var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 823var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
61builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));