1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
460
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)
443
_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)
135
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
178
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
253
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
330
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
887
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
930
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (15)
39
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
86
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
148
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
181
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
248
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
300
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
347
var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<
ApplicationOrchestrator
>());
371
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
415
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
446
private static
ApplicationOrchestrator
CreateOrchestrator(
593
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
639
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
687
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
743
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
797
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
61
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));