1 instantiation of AfterResourcesCreatedEvent
Aspire.Hosting (1)
Orchestrator\ApplicationOrchestrator.cs (1)
638var afterResourcesCreatedEvent = new AfterResourcesCreatedEvent(_serviceProvider, _model);
16 references to AfterResourcesCreatedEvent
Aspire.Hosting (6)
ApplicationModel\AfterResourcesCreatedEvent.cs (1)
20/// Subscribe to the <see cref="AfterResourcesCreatedEvent"/> event and resolve the distributed application model.
Ats\BuilderExports.cs (2)
276Func<AfterResourcesCreatedEvent, Task> callback) 281return builder.Eventing.Subscribe<AfterResourcesCreatedEvent>(async (@event, ct) =>
Ats\EventingExports.cs (2)
213public static DistributedApplicationEventSubscription OnAfterResourcesCreated(this EventingSubscriberRegistrationContext context, Func<AfterResourcesCreatedEvent, Task> callback) 218return context.Eventing.Subscribe<AfterResourcesCreatedEvent>((@event, _) => callback(@event));
Orchestrator\ApplicationOrchestrator.cs (1)
638var afterResourcesCreatedEvent = new AfterResourcesCreatedEvent(_serviceProvider, _model);
Aspire.Hosting.Maui (1)
Lifecycle\UnsupportedPlatformEventSubscriber.cs (1)
25eventing.Subscribe<AfterResourcesCreatedEvent>(async (@event, ct) =>
Aspire.Hosting.Tests (7)
Cli\CliOrphanDetectorTests.cs (1)
268builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) =>
DistributedApplicationTests.cs (1)
330testProgram.AppBuilder.Eventing.Subscribe<AfterResourcesCreatedEvent>((_, _) =>
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
252builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) => 396builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) =>
OperationModesTests.cs (3)
25builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) => { 54builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) => { 83builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) => {
TestProject.AppHost (2)
TestProgram.cs (2)
172public async Task OnAfterResourcesCreated(AfterResourcesCreatedEvent @event, CancellationToken cancellationToken) 207eventing.Subscribe<AfterResourcesCreatedEvent>(OnAfterResourcesCreated);