2 instantiations of ResourceEndpointsAllocatedEvent
Aspire.Hosting (1)
Dcp\DcpExecutor.cs (1)
813var resourceEvent = new ResourceEndpointsAllocatedEvent(resource, _executionContext.ServiceProvider);
Aspire.Hosting.Tests (1)
WithUrlsTests.cs (1)
468await e.Eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(custom, e.Services), EventDispatchBehavior.BlockingConcurrent, ct);
6 references to ResourceEndpointsAllocatedEvent
Aspire.Hosting (6)
Dcp\DcpExecutor.cs (1)
813var resourceEvent = new ResourceEndpointsAllocatedEvent(resource, _executionContext.ServiceProvider);
DistributedApplicationEventingExtensions.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 (3)
58_eventing.Subscribe<ResourceEndpointsAllocatedEvent>(OnResourceEndpointsAllocated); 304private async Task OnResourceEndpointsAllocated(ResourceEndpointsAllocatedEvent @event, CancellationToken cancellationToken) 333_eventing.Subscribe<ResourceEndpointsAllocatedEvent>(reference, (_, _) =>