1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
1176return new ApplicationOrchestrator(
64 references to ApplicationOrchestrator
Aspire.Hosting (12)
ApplicationModel\CommandsConfigurationExtensions.cs (8)
31var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>(); 64var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>(); 103var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>(); 196var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>();
DistributedApplicationBuilder.cs (1)
602_innerBuilder.Services.AddSingleton<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestrator.cs (1)
53ILogger<ApplicationOrchestrator> logger)
Orchestrator\OrchestratorHostService.cs (2)
12private readonly ApplicationOrchestrator _appOrchestrator; 21ApplicationOrchestrator appOrchestrator,
Aspire.Hosting.Blazor (4)
BrowserDebuggerHelper.cs (4)
175var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>(); 245var orchestrator = context.Services.GetRequiredService<ApplicationOrchestrator>();
Aspire.Hosting.Tests (45)
DistributedApplicationTests.cs (14)
201var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 246var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 385var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 539var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 626var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 1220var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>(); 1260var orchestrator = app.Services.GetRequiredService<ApplicationOrchestrator>();
Orchestrator\ApplicationOrchestratorTests.cs (31)
47var orchestrator = CreateOrchestrator(model, notificationService: notifications, dcpEvents: events, applicationEventing: builder.Eventing); 87var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 135var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 198var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 232var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 300var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 353var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 400var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<ApplicationOrchestrator>()); 425var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 482var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 510var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing); 553var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 582var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 610var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 639var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 675var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 721var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 781var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 834var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing, dcpExecutor: dcpExecutor); 887var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing, dcpExecutor: dcpExecutor); 949var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 990var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 1053var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 1088var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing); 1158private ApplicationOrchestrator CreateOrchestrator( 1195serviceProvider.GetRequiredService<ILogger<ApplicationOrchestrator>>() 1346var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 1394var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 1444var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 1501var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events); 1556var appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Aspire.Hosting.TestUtilities (3)
Dcp\ApplicationOrchestratorProxy.cs (2)
10internal ApplicationOrchestratorProxy(ApplicationOrchestrator orchestrator) 15private readonly ApplicationOrchestrator _orchestrator;
Utils\TestDistributedApplicationBuilder.cs (1)
77builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<ApplicationOrchestrator>()));