1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
473
return new
ApplicationOrchestrator
(
43 references to ApplicationOrchestrator
Aspire.Hosting (10)
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)
468
_innerBuilder.Services.AddSingleton<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestrator.cs (1)
51
ILogger<
ApplicationOrchestrator
> logger)
Orchestrator\OrchestratorHostService.cs (2)
12
private readonly
ApplicationOrchestrator
_appOrchestrator;
21
ApplicationOrchestrator
appOrchestrator,
Aspire.Hosting.Tests (33)
Dcp\ApplicationOrchestratorProxy.cs (2)
10
internal ApplicationOrchestratorProxy(
ApplicationOrchestrator
orchestrator)
15
private readonly
ApplicationOrchestrator
_orchestrator;
DistributedApplicationTests.cs (14)
137
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
182
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
317
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
391
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
470
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
1072
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
1113
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (16)
42
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
90
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
153
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
187
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
255
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
308
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
355
var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<
ApplicationOrchestrator
>());
380
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
425
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
456
private
ApplicationOrchestrator
CreateOrchestrator(
492
serviceProvider.GetRequiredService<ILogger<
ApplicationOrchestrator
>>()
614
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
661
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
710
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
767
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
822
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Utils\TestDistributedApplicationBuilder.cs (1)
61
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));