115 instantiations of BeforeResourceStartedEvent
Aspire.Hosting (3)
Aspire.Hosting.Azure (1)
Aspire.Hosting.DevTunnels (2)
Aspire.Hosting.DevTunnels.Tests (2)
Aspire.Hosting.Dotnet.Tests (8)
DotnetProjectBuildCoordinatorTests.cs (8)
897new BeforeResourceStartedEvent(buildResource, app.Services),
914new BeforeResourceStartedEvent(buildResource, app.Services),
1121new BeforeResourceStartedEvent(buildResource, app.Services),
1169new BeforeResourceStartedEvent(rebuilder, app.Services),
1238new BeforeResourceStartedEvent(buildResource, app.Services),
1248new BeforeResourceStartedEvent(rebuilder, app.Services),
1374new BeforeResourceStartedEvent(buildResource, app.Services),
1397new 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)
56new BeforeResourceStartedEvent(env.Android, env.Services),
76new BeforeResourceStartedEvent(env.Android, env.Services),
89new BeforeResourceStartedEvent(env.Android, env.Services),
96new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
117new BeforeResourceStartedEvent(env.Android, env.Services),
138new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
172new BeforeResourceStartedEvent(env.Android, env.Services),
189new BeforeResourceStartedEvent(env.Android, env.Services),
193new BeforeResourceStartedEvent(env.Android2!, env.Services),
220new BeforeResourceStartedEvent(env.Android, env.Services),
234new BeforeResourceStartedEvent(env.Android, env.Services),
242new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
257new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
271new BeforeResourceStartedEvent(env.Android, env.Services),
284new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
292new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
350new BeforeResourceStartedEvent(env.Android, env.Services),
357new BeforeResourceStartedEvent(env.Parent, env.Services),
374new BeforeResourceStartedEvent(env.Android, env.Services),
384new BeforeResourceStartedEvent(env.Android, env.Services),
415new BeforeResourceStartedEvent(android, app.Services),
453new BeforeResourceStartedEvent(android, app.Services),
474new BeforeResourceStartedEvent(env.Android, env.Services),
521new BeforeResourceStartedEvent(env.Android, env.Services),
529new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
560new BeforeResourceStartedEvent(env.Android, env.Services),
595new BeforeResourceStartedEvent(env.Android, env.Services),
617new BeforeResourceStartedEvent(env.Android, env.Services),
694new BeforeResourceStartedEvent(env.Android, env.Services),
697new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
848new BeforeResourceStartedEvent(env.Android, env.Services),
865new BeforeResourceStartedEvent(env.Android, env.Services),
936new BeforeResourceStartedEvent(env.Android, env.Services),
955new BeforeResourceStartedEvent(env.Android, env.Services),
1043new BeforeResourceStartedEvent(env.Android, env.Services),
1053new BeforeResourceStartedEvent(env.MacCatalyst, env.Services),
1057new BeforeResourceStartedEvent(env.IOSSimulator, env.Services),
1100new BeforeResourceStartedEvent(env.Android, env.Services),
MauiiOSValidationTests.cs (6)
35.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None);
60.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None);
84.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None);
104.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None);
122.PublishAsync(new BeforeResourceStartedEvent(device.Resource, app.Services), CancellationToken.None);
140.PublishAsync(new BeforeResourceStartedEvent(simulator.Resource, app.Services), CancellationToken.None);
MauiPlatformExtensionsTests.cs (8)
296.PublishAsync(new BeforeResourceStartedEvent(platform.Resource, app.Services), CancellationToken.None);
593await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services), CancellationToken.None);
1118appBuilder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services), CancellationToken.None));
1144appBuilder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services), CancellationToken.None));
1174new BeforeResourceStartedEvent(tunnelConfig.DevTunnel.Resource, app.Services),
1225new BeforeResourceStartedEvent(resolutionEventResource, app.Services),
1249new BeforeResourceStartedEvent(resolutionEventResource, app.Services),
1341new 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 (19)
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)
38 references to BeforeResourceStartedEvent
Aspire.Hosting (10)
Aspire.Hosting.Azure (1)
Aspire.Hosting.DevTunnels (2)
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)