109 instantiations of BeforeStartEvent
Aspire.Hosting (1)
Aspire.Hosting.Azure.Tests (56)
AzureEnvironmentResourceExtensionsTests.cs (52)
655await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
705await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
740await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
787await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
899await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1174await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1232await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1293await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1355await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1411await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1483await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1544await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1603await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1659await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1697await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1764await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1867await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
1939await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2018await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2085await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2163await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2224await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2285await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2364await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2441await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2529await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2586await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2638await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2702await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2776await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2831await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2891await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
2935await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3007await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3074await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3133await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3199await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3263await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3328await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3659await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3700await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3747await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3804await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3841await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3909await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
3989await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4068await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4119await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4166await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4212await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4279await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
4794await preparer.OnBeforeStartAsync(new BeforeStartEvent(app.Services, model), CancellationToken.None);
Aspire.Hosting.Blazor.Tests (1)
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Maui.Tests (1)
Aspire.Hosting.Python.Tests (1)
Aspire.Hosting.Redis.Tests (4)
Aspire.Hosting.Tests (40)
ContainerRegistryResourceTests.cs (12)
522var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
543var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
567var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
589var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
612var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
648var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
672var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
702var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
723var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
743var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
764var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
785var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
Dashboard\DashboardEventHandlersTests.cs (10)
50await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
100await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
193await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
246await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
449await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
532await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None).DefaultTimeout();
605await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None);
688await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None);
757await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None);
824await hook.OnBeforeStartAsync(new BeforeStartEvent(new TestServiceProvider(), model), CancellationToken.None);
Aspire.Hosting.Yarp.Tests (2)
80 references to BeforeStartEvent
Aspire.Hosting (34)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.Sql (1)
Aspire.Hosting.Azure.Tests (4)
Aspire.Hosting.EntityFrameworkCore (2)
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Redis.Tests (3)
Aspire.Hosting.Tests (24)
ContainerRegistryResourceTests.cs (12)
522var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
543var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
567var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
589var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
612var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
648var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
672var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
702var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
723var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
743var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
764var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
785var beforeStartEvent = new BeforeStartEvent(app.Services, appModel);
Aspire.Hosting.Yarp.Tests (2)
Aspire.Playground.Tests (2)
CustomResources.AppHost (2)
HealthChecksSandbox.AppHost (2)
Stress.AppHost (2)