1 instantiation of ApplicationOrchestrator
Aspire.Hosting.Tests (1)
Orchestrator\ApplicationOrchestratorTests.cs (1)
1179
return new
ApplicationOrchestrator
(
64 references to ApplicationOrchestrator
Aspire.Hosting (12)
ApplicationModel\CommandsConfigurationExtensions.cs (8)
31
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
64
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
103
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
196
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
DistributedApplicationBuilder.cs (1)
597
_innerBuilder.Services.AddSingleton<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestrator.cs (1)
53
ILogger<
ApplicationOrchestrator
> logger)
Orchestrator\OrchestratorHostService.cs (2)
12
private readonly
ApplicationOrchestrator
_appOrchestrator;
21
ApplicationOrchestrator
appOrchestrator,
Aspire.Hosting.Blazor (4)
BrowserDebuggerHelper.cs (4)
175
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
245
var
orchestrator = context.Services.GetRequiredService<
ApplicationOrchestrator
>();
Aspire.Hosting.Tests (45)
DistributedApplicationTests.cs (14)
201
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
246
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
385
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
539
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
626
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
1220
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
1260
var
orchestrator = app.Services.GetRequiredService<
ApplicationOrchestrator
>();
Orchestrator\ApplicationOrchestratorTests.cs (31)
50
var
orchestrator = CreateOrchestrator(model, notificationService: notifications, dcpEvents: events, applicationEventing: builder.Eventing);
90
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
138
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
201
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
235
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
303
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
356
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
403
var e = Assert.Throws<InvalidOperationException>(() => app.Services.GetService<
ApplicationOrchestrator
>());
428
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
485
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
513
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: applicationEventing);
556
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
585
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
613
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
642
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
678
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
724
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
784
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
837
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing, dcpExecutor: dcpExecutor);
890
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing, dcpExecutor: dcpExecutor);
952
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
993
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
1056
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
1091
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events, applicationEventing: builder.Eventing);
1161
private
ApplicationOrchestrator
CreateOrchestrator(
1198
serviceProvider.GetRequiredService<ILogger<
ApplicationOrchestrator
>>()
1349
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
1397
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
1447
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
1504
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
1559
var
appOrchestrator = CreateOrchestrator(distributedAppModel, notificationService: resourceNotificationService, dcpEvents: events);
Aspire.Hosting.TestUtilities (3)
Dcp\ApplicationOrchestratorProxy.cs (2)
10
internal ApplicationOrchestratorProxy(
ApplicationOrchestrator
orchestrator)
15
private readonly
ApplicationOrchestrator
_orchestrator;
Utils\TestDistributedApplicationBuilder.cs (1)
79
builder.Services.AddSingleton<ApplicationOrchestratorProxy>(sp => new ApplicationOrchestratorProxy(sp.GetRequiredService<
ApplicationOrchestrator
>()));