1 instantiation of AfterResourcesCreatedEvent
Aspire.Hosting (1)
Orchestrator\ApplicationOrchestrator.cs (1)
638
var 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)
276
Func<
AfterResourcesCreatedEvent
, Task> callback)
281
return builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>(async (@event, ct) =>
Ats\EventingExports.cs (2)
213
public static DistributedApplicationEventSubscription OnAfterResourcesCreated(this EventingSubscriberRegistrationContext context, Func<
AfterResourcesCreatedEvent
, Task> callback)
218
return context.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((@event, _) => callback(@event));
Orchestrator\ApplicationOrchestrator.cs (1)
638
var
afterResourcesCreatedEvent = new AfterResourcesCreatedEvent(_serviceProvider, _model);
Aspire.Hosting.Maui (1)
Lifecycle\UnsupportedPlatformEventSubscriber.cs (1)
25
eventing.Subscribe<
AfterResourcesCreatedEvent
>(async (@event, ct) =>
Aspire.Hosting.Tests (7)
Cli\CliOrphanDetectorTests.cs (1)
268
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) =>
DistributedApplicationTests.cs (1)
330
testProgram.AppBuilder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((_, _) =>
Eventing\DistributedApplicationBuilderEventingTests.cs (2)
252
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) =>
396
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) =>
OperationModesTests.cs (3)
25
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) => {
54
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) => {
83
builder.Eventing.Subscribe<
AfterResourcesCreatedEvent
>((e, ct) => {
TestProject.AppHost (2)
TestProgram.cs (2)
172
public async Task OnAfterResourcesCreated(
AfterResourcesCreatedEvent
@event, CancellationToken cancellationToken)
207
eventing.Subscribe<
AfterResourcesCreatedEvent
>(OnAfterResourcesCreated);