20 references to PublishEndpointsAllocatedAsync
Aspire.Hosting (2)
DistributedApplicationEventingExtensions.cs (1)
53.PublishEndpointsAllocatedAsync([@event], eventing, dispatchBehavior, cancellationToken);
Orchestrator\ApplicationOrchestrator.cs (1)
202PublishEndpointsAllocatedAsync(context.Events, _eventing, EventDispatchBehavior.BlockingSequential, context.CancellationToken);
Aspire.Hosting.Tests (18)
Dcp\DcpExecutorTests.cs (1)
4999events.Subscribe<OnEndpointsAllocatedContext>(context => orchestrator.PublishEndpointsAllocatedAsync(
Orchestrator\ApplicationOrchestratorTests.cs (17)
49await orchestrator.PublishEndpointsAllocatedAsync( 83await orchestrator.PublishEndpointsAllocatedAsync( 120await orchestrator.PublishEndpointsAllocatedAsync([new(first.Resource, app.Services)], 127await orchestrator.PublishEndpointsAllocatedAsync([new(second.Resource, app.Services)], 150await orchestrator.PublishEndpointsAllocatedAsync([new(resource.Resource, app.Services)], 154await orchestrator.PublishEndpointsAllocatedAsync([new(other.Resource, app.Services)], 255var publish = orchestrator.PublishEndpointsAllocatedAsync( 317await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 359await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 360await orchestrator.PublishEndpointsAllocatedAsync([new(manager.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 387var publish = orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 423await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 445await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default).DefaultTimeout(); 471await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 492await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 520await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default); 524await orchestrator.PublishEndpointsAllocatedAsync([new(frontend.Resource, app.Services)], builder.Eventing, EventDispatchBehavior.BlockingSequential, default);