2 instantiations of ResourceEndpointsAllocatedEvent
Aspire.Hosting (1)
Dcp\DcpExecutor.cs (1)
726var resourceEvent = new ResourceEndpointsAllocatedEvent(resource, _executionContext.ServiceProvider);
Aspire.Hosting.Tests (1)
WithUrlsTests.cs (1)
431await e.Eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(custom.Resource, e.Services), EventDispatchBehavior.BlockingConcurrent, ct);
6 references to ResourceEndpointsAllocatedEvent
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (1)
726var resourceEvent = new ResourceEndpointsAllocatedEvent(resource, _executionContext.ServiceProvider);
EventingExtensions.cs (2)
48/// Subscribes a callback to the <see cref="ResourceEndpointsAllocatedEvent"/> event within the AppHost. 54public static IResourceBuilder<T> OnResourceEndpointsAllocated<T>(this IResourceBuilder<T> builder, Func<T, ResourceEndpointsAllocatedEvent, CancellationToken, Task> callback)
Orchestrator\ApplicationOrchestrator.cs (2)
55_eventing.Subscribe<ResourceEndpointsAllocatedEvent>(OnResourceEndpointsAllocated); 266private async Task OnResourceEndpointsAllocated(ResourceEndpointsAllocatedEvent @event, CancellationToken cancellationToken)
Aspire.Hosting.Tests (1)
WithUrlsTests.cs (1)
57builder.Eventing.Subscribe<ResourceEndpointsAllocatedEvent>(projectA.Resource, (e, ct) =>