130 instantiations of BeforeResourceStartedEvent
Aspire.Hosting (3)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.EntraId (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.Dotnet.Tests (19)
DotnetProjectBuildCoordinatorTests.cs (18)
75new BeforeResourceStartedEvent(buildResource, app.Services),
113new BeforeResourceStartedEvent(buildResource, app.Services),
157new BeforeResourceStartedEvent(buildResource, app.Services),
174new BeforeResourceStartedEvent(buildResource, app.Services),
219new BeforeResourceStartedEvent(buildResource, app.Services),
236new BeforeResourceStartedEvent(rebuilder, app.Services),
430new BeforeResourceStartedEvent(buildResource, app.Services),
450new BeforeResourceStartedEvent(rebuilder, app.Services),
538new BeforeResourceStartedEvent(projectBuild, app.Services),
541new BeforeResourceStartedEvent(fileBuild, app.Services),
1428new BeforeResourceStartedEvent(buildResource, app.Services),
1445new BeforeResourceStartedEvent(buildResource, app.Services),
1652new BeforeResourceStartedEvent(buildResource, app.Services),
1700new BeforeResourceStartedEvent(rebuilder, app.Services),
1769new BeforeResourceStartedEvent(buildResource, app.Services),
1779new BeforeResourceStartedEvent(rebuilder, app.Services),
1905new BeforeResourceStartedEvent(buildResource, app.Services),
1928new BeforeResourceStartedEvent(rebuilder, app.Services),
Aspire.Hosting.Java.Tests (16)
AddSpringBootAppTests.cs (9)
22new BeforeResourceStartedEvent(app.Resource, application.Services),
39new BeforeResourceStartedEvent(app.Resource, application.Services),
56new BeforeResourceStartedEvent(app.Resource, application.Services),
76new BeforeResourceStartedEvent(runApp.Resource, application.Services),
114new BeforeResourceStartedEvent(app.Resource, application.Services),
137new BeforeResourceStartedEvent(app.Resource, application.Services),
190new BeforeResourceStartedEvent(app.Resource, application.Services),
211new BeforeResourceStartedEvent(runApp.Resource, application.Services),
238new BeforeResourceStartedEvent(app.Resource, application.Services),
Aspire.Hosting.Kafka.Tests (1)
Aspire.Hosting.Maui.Tests (52)
MauiBuildQueueTests.cs (38)
58new BeforeResourceStartedEvent(env.Android, env.Services),
78new BeforeResourceStartedEvent(env.Android, env.Services),
91new BeforeResourceStartedEvent(env.Android, env.Services),
98new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
119new BeforeResourceStartedEvent(env.Android, env.Services),
140new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
174new BeforeResourceStartedEvent(env.Android, env.Services),
191new BeforeResourceStartedEvent(env.Android, env.Services),
195new BeforeResourceStartedEvent(env.Android2!, env.Services),
222new BeforeResourceStartedEvent(env.Android, env.Services),
236new BeforeResourceStartedEvent(env.Android, env.Services),
244new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
259new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
273new BeforeResourceStartedEvent(env.Android, env.Services),
286new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
294new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
352new BeforeResourceStartedEvent(env.Android, env.Services),
359new BeforeResourceStartedEvent(env.Parent, env.Services),
376new BeforeResourceStartedEvent(env.Android, env.Services),
386new BeforeResourceStartedEvent(env.Android, env.Services),
417new BeforeResourceStartedEvent(android, app.Services),
455new BeforeResourceStartedEvent(android, app.Services),
476new BeforeResourceStartedEvent(env.Android, env.Services),
523new BeforeResourceStartedEvent(env.Android, env.Services),
531new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
562new BeforeResourceStartedEvent(env.Android, env.Services),
597new BeforeResourceStartedEvent(env.Android, env.Services),
619new BeforeResourceStartedEvent(env.Android, env.Services),
696new BeforeResourceStartedEvent(env.Android, env.Services),
699new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
850new BeforeResourceStartedEvent(env.Android, env.Services),
868new BeforeResourceStartedEvent(env.Android, env.Services),
938new BeforeResourceStartedEvent(env.Android, env.Services),
958new BeforeResourceStartedEvent(env.Android, env.Services),
1045new BeforeResourceStartedEvent(env.Android, env.Services),
1055new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
1059new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
1102new BeforeResourceStartedEvent(env.Android, env.Services),
MauiiOSValidationTests.cs (6)
36.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None)
62.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None)
87.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None)
108.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None)
127.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None)
146.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None)
MauiPlatformExtensionsTests.cs (8)
296.PublishAsync(new BeforeResourceStartedEvent(platform.Resource, app.Services), CancellationToken.None)
594await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services), CancellationToken.None).DefaultTimeout();
1119appBuilder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services), CancellationToken.None).DefaultTimeout());
1145appBuilder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services), CancellationToken.None).DefaultTimeout());
1175new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services),
1226new BeforeResourceStartedEvent(resolutionEventResource, app.Services),
1250new BeforeResourceStartedEvent(resolutionEventResource, app.Services),
1342new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services),
Aspire.Hosting.MongoDB (1)
Aspire.Hosting.MongoDB.Tests (1)
Aspire.Hosting.MySql.Tests (3)
Aspire.Hosting.Redis.Tests (3)
Aspire.Hosting.Tests (23)
RequiredCommandAnnotationTests.cs (17)
156await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
173await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
191await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
214await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
241await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
267await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
288await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
309await eventing.PublishAsync(new BeforeResourceStartedEvent(resource1, app.Services));
310await eventing.PublishAsync(new BeforeResourceStartedEvent(resource2, app.Services));
340await eventing.PublishAsync(new BeforeResourceStartedEvent(resource1, app.Services));
341await eventing.PublishAsync(new BeforeResourceStartedEvent(resource2, app.Services));
375await eventing.PublishAsync(new BeforeResourceStartedEvent(resource1, app.Services));
376await eventing.PublishAsync(new BeforeResourceStartedEvent(resource2, app.Services));
400var publishTask = eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
431await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services));
458var publishTask1 = eventing.PublishAsync(new BeforeResourceStartedEvent(resource1, app.Services));
464await eventing.PublishAsync(new BeforeResourceStartedEvent(resource2, app.Services));
CustomResources.AppHost (3)
40 references to BeforeResourceStartedEvent
Aspire.Hosting (12)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Azure.EntraId (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Dotnet (3)
Aspire.Hosting.Kafka (1)
Aspire.Hosting.Maui (7)
Aspire.Hosting.MySql (1)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Redis (1)
Aspire.Hosting.Redis.Tests (3)
Aspire.Hosting.Tests (7)