1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
449
return new
ApplicationOrchestrator
(
34 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)
370
_innerBuilder.Services.AddSingleton<
ApplicationOrchestrator
>();
Orchestrator\OrchestratorHostService.cs (2)
12
private readonly
ApplicationOrchestrator
_appOrchestrator;
21
ApplicationOrchestrator
appOrchestrator,
Aspire.Hosting.Tests (25)
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
>();
625
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
668
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (10)
32
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
79
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
141
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
174
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
241
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
293
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
340
var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<
ApplicationOrchestrator
>());
364
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
408
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
439
private static
ApplicationOrchestrator
CreateOrchestrator(
Utils\TestDistributedApplicationBuilder.cs (1)
59
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));