1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
454
return new
ApplicationOrchestrator
(
39 references to ApplicationOrchestrator
Aspire.Hosting (9)
ApplicationModel\CommandsConfigurationExtensions.cs (6)
24
var
orchestrator = context.ServiceProvider.GetRequiredService<
ApplicationOrchestrator
>();
57
var
orchestrator = context.ServiceProvider.GetRequiredService<
ApplicationOrchestrator
>();
90
var
orchestrator = context.ServiceProvider.GetRequiredService<
ApplicationOrchestrator
>();
DistributedApplicationBuilder.cs (1)
376
_innerBuilder.Services.AddSingleton<
ApplicationOrchestrator
>();
Orchestrator\OrchestratorHostService.cs (2)
12
private readonly
ApplicationOrchestrator
_appOrchestrator;
21
ApplicationOrchestrator
appOrchestrator,
Aspire.Hosting.Tests (30)
Dcp\ApplicationOrchestratorProxy.cs (2)
10
internal ApplicationOrchestratorProxy(
ApplicationOrchestrator
orchestrator)
15
private readonly
ApplicationOrchestrator
_orchestrator;
DistributedApplicationTests.cs (12)
134
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
177
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
252
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
329
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
648
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
691
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (15)
34
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
81
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
143
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
176
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
243
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
295
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
342
var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<
ApplicationOrchestrator
>());
366
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
410
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
441
private static
ApplicationOrchestrator
CreateOrchestrator(
570
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
616
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
664
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
720
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
774
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
59
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));