1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
451
return new
ApplicationOrchestrator
(
36 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 (27)
Dcp\ApplicationOrchestratorProxy.cs (2)
10
internal ApplicationOrchestratorProxy(
ApplicationOrchestrator
orchestrator)
15
private readonly
ApplicationOrchestrator
_orchestrator;
DistributedApplicationTests.cs (12)
128
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
171
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
246
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
323
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
630
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
673
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (12)
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(
567
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
613
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
59
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));