1 implementation of PublishAsync
Aspire.Hosting (1)
Eventing\DistributedApplicationEventing.cs (1)
18public Task PublishAsync<T>(T @event, CancellationToken cancellationToken = default) where T : IDistributedApplicationEvent
260 references to PublishAsync
Aspire.Hosting (13)
ConnectionStringBuilderExtensions.cs (2)
92await @evt.Eventing.PublishAsync(new BeforeResourceStartedEvent(r, @evt.Services), ct).ConfigureAwait(false); 102await evt.Eventing.PublishAsync(new ConnectionStringAvailableEvent(r, evt.Services), ct)
DistributedApplication.cs (1)
659await eventing.PublishAsync(beforeStartEvent, cancellationToken).ConfigureAwait(false);
Eventing\DistributedApplicationEventing.cs (2)
16/// <inheritdoc cref="IDistributedApplicationEventing.PublishAsync{T}(T, CancellationToken)" /> 23/// <inheritdoc cref="IDistributedApplicationEventing.PublishAsync{T}(T, CancellationToken)" />
ExternalServiceBuilderExtensions.cs (1)
168await e.Eventing.PublishAsync(new BeforeResourceStartedEvent(e.Resource, e.Services), ct).ConfigureAwait(false);
Health\ResourceHealthCheckService.cs (1)
267var task = eventing.PublishAsync(resourceReadyEvent, cancellationToken);
Orchestrator\ApplicationOrchestrator.cs (4)
296await _eventing.PublishAsync(beforeResourceStartedEvent, context.CancellationToken).ConfigureAwait(false); 696await _eventing.PublishAsync(afterResourcesCreatedEvent, cancellationToken).ConfigureAwait(false); 818await _eventing.PublishAsync(connectionStringAvailableEvent, cancellationToken).ConfigureAwait(false); 842await _eventing.PublishAsync(createEvent(resource), cancellationToken).ConfigureAwait(false);
Publishing\PipelineExecutor.cs (2)
57await eventing.PublishAsync<BeforePublishEvent>( 64await eventing.PublishAsync<AfterPublishEvent>(
Aspire.Hosting.Azure (2)
AzureProvisioningController.cs (2)
4049await eventing.PublishAsync(beforeResourceStartedEvent, cancellationToken).ConfigureAwait(false); 4236await eventing.PublishAsync(connectionStringAvailableEvent, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.EntraId (1)
EntraIdResourceExtensions.cs (1)
217await evt.Eventing.PublishAsync(new BeforeResourceStartedEvent(resource, evt.Services), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdInitializationTests.cs (1)
527return eventing.PublishAsync(new InitializeResourceEvent(resource, eventing, loggerService, notifications, app.Services), cancellationToken);
Aspire.Hosting.Azure.Tests (10)
AzureCosmosDBExtensionsTests.cs (6)
807await builder.Eventing.PublishAsync(beforeStartEvent); 839await builder.Eventing.PublishAsync(beforeStartEvent); 868await builder.Eventing.PublishAsync(beforeStartEvent); 898await builder.Eventing.PublishAsync(beforeStartEvent); 1141() => builder.Eventing.PublishAsync(new ResourceReadyEvent(cosmos.Resource, app.Services))); 1158await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(cosmos.Resource, app.Services));
AzureEnvironmentResourceExtensionsTests.cs (1)
883await eventing.PublishAsync(new InitializeResourceEvent(
DurableTaskResourceExtensionsTests.cs (2)
62await builder.Eventing.PublishAsync(new ResourceReadyEvent(taskHub.Resource, app.Services)); 80await builder.Eventing.PublishAsync(new ResourceReadyEvent(taskHub.Resource, app.Services));
FoundryExtensionsTests.cs (1)
356.PublishAsync(new ResourceReadyEvent(foundry.Resource, app.Services), cancellation.Token)
Aspire.Hosting.Blazor.Tests (1)
BlazorHostedExtensionsTests.cs (1)
597await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model));
Aspire.Hosting.Browsers.Tests (1)
BrowserLogsBuilderExtensionsTests.cs (1)
1358await eventing.PublishAsync(new ResourceReadyEvent(web.Resource, app.Services)).DefaultTimeout();
Aspire.Hosting.DevTunnels.Tests (2)
DevTunnelResourceBuilderExtensionsTests.cs (2)
237await builder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnel.Resource, app.Services)).DefaultTimeout(); 279await builder.Eventing.PublishAsync(new BeforeResourceStartedEvent(tunnel.Resource, app.Services)).DefaultTimeout();
Aspire.Hosting.Dotnet.Tests (36)
DotnetProjectBuildCoordinatorTests.cs (32)
81await builder.Eventing.PublishAsync( 119await builder.Eventing.PublishAsync( 225await builder.Eventing.PublishAsync( 242await builder.Eventing.PublishAsync( 305await builder.Eventing.PublishAsync( 714await builder.Eventing.PublishAsync( 734await builder.Eventing.PublishAsync( 778await builder.Eventing.PublishAsync( 1724builder.Eventing.PublishAsync( 1773builder.Eventing.PublishAsync( 1813builder.Eventing.PublishAsync( 1838await builder.Eventing.PublishAsync( 1850await builder.Eventing.PublishAsync( 1862builder.Eventing.PublishAsync( 1888await builder.Eventing.PublishAsync( 1908await builder.Eventing.PublishAsync( 1911await builder.Eventing.PublishAsync( 1923await builder.Eventing.PublishAsync( 1928builder.Eventing.PublishAsync( 2008await builder.Eventing.PublishAsync( 2067await builder.Eventing.PublishAsync( 2187await builder.Eventing.PublishAsync( 2285builder.Eventing.PublishAsync( 2409await builder.Eventing.PublishAsync( 2426await builder.Eventing.PublishAsync( 2638await builder.Eventing.PublishAsync( 2686await builder.Eventing.PublishAsync( 2755await builder.Eventing.PublishAsync( 2765var secondStartTask = builder.Eventing.PublishAsync( 2891await builder.Eventing.PublishAsync( 2914await builder.Eventing.PublishAsync( 5220await builder.Eventing.PublishAsync(
DotnetProjectPathTests.cs (3)
139builder.Eventing.PublishAsync( 171builder.Eventing.PublishAsync( 295builder.Eventing.PublishAsync(
DotnetProjectResourceTests.cs (1)
510await builder.Eventing.PublishAsync(
Aspire.Hosting.EntityFrameworkCore.Tests (2)
EFBuildReadinessTests.cs (2)
74await builder.Eventing.PublishAsync( 108await builder.Eventing.PublishAsync(
Aspire.Hosting.Foundry (1)
FoundryExtensions.cs (1)
445await eventing.PublishAsync(connectionStringAvailableEvent, ct).ConfigureAwait(false);
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
929await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model));
Aspire.Hosting.Go.Tests (4)
GoRunDebuggingTests.cs (4)
113await builder.Eventing.PublishAsync(new BeforeStartEvent( 248await builder.Eventing.PublishAsync(new BeforeStartEvent( 442await builder.Eventing.PublishAsync(new BeforeStartEvent( 489await builder.Eventing.PublishAsync(new BeforeStartEvent(
Aspire.Hosting.Java.Tests (16)
AddJavaAppTests.cs (4)
746() => builder.Eventing.PublishAsync( 765() => builder.Eventing.PublishAsync( 792await builder.Eventing.PublishAsync( 853() => builder.Eventing.PublishAsync(
AddQuarkusAppTests.cs (3)
96await builder.Eventing.PublishAsync( 113await builder.Eventing.PublishAsync( 285() => builder.Eventing.PublishAsync(
AddSpringBootAppTests.cs (9)
21await builder.Eventing.PublishAsync( 38await builder.Eventing.PublishAsync( 55await builder.Eventing.PublishAsync( 75await runBuilder.Eventing.PublishAsync( 113await builder.Eventing.PublishAsync( 136await builder.Eventing.PublishAsync( 189() => builder.Eventing.PublishAsync( 210() => runBuilder.Eventing.PublishAsync( 237await builder.Eventing.PublishAsync(
Aspire.Hosting.JavaScript.Tests (1)
RequiredCommandTests.cs (1)
233await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel));
Aspire.Hosting.Kafka.Tests (3)
AddKafkaTests.cs (3)
31await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(kafka.Resource, app.Services)); 47await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(kafka1.Resource, app.Services)); 48await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(kafka2.Resource, app.Services));
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
81await builder.Eventing.PublishAsync(beforeStartEvent);
Aspire.Hosting.Maui (2)
MauiOtlpExtensions.cs (2)
209appBuilder.Eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(stubResource, evt.Services), ct)); 524await eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(tunnelConfig.OtlpStub, services), cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Maui.Tests (61)
MauiBuildQueueTests.cs (40)
57var eventTask = Task.Run(() => env.Eventing.PublishAsync( 77await env.Eventing.PublishAsync( 90var task1 = Task.Run(() => env.Eventing.PublishAsync( 97var task2 = Task.Run(() => env.Eventing.PublishAsync( 118var task1 = Task.Run(() => env.Eventing.PublishAsync( 126var task2 = Task.Run(() => env.Eventing.PublishAsync( 146var eventTask = Task.Run(() => env.Eventing.PublishAsync( 162var task1 = Task.Run(() => env.Eventing.PublishAsync( 166var task2 = Task.Run(() => env.Eventing.PublishAsync( 193() => env.Eventing.PublishAsync( 207var task1 = Task.Run(() => env.Eventing.PublishAsync( 215var task2 = Task.Run(() => env.Eventing.PublishAsync( 230var task3 = env.Eventing.PublishAsync( 244await env.Eventing.PublishAsync( 257await env.Eventing.PublishAsync( 265await env.Eventing.PublishAsync( 323var task1 = Task.Run(() => env.Eventing.PublishAsync( 330var parentTask = env.Eventing.PublishAsync( 347await env.Eventing.PublishAsync( 357await env.Eventing.PublishAsync( 388await eventing.PublishAsync( 426await eventing.PublishAsync( 447() => env.Eventing.PublishAsync( 494var task1 = Task.Run(() => env.Eventing.PublishAsync( 502var task2 = Task.Run(() => env.Eventing.PublishAsync( 533var task1 = Task.Run(() => env.Eventing.PublishAsync( 564() => env.Eventing.PublishAsync( 584var eventTask = Task.Run(() => env.Eventing.PublishAsync( 619await env.Eventing.PublishAsync( 641var task1 = Task.Run(() => env.Eventing.PublishAsync( 718await env.Eventing.PublishAsync( 721await env.Eventing.PublishAsync( 872await env.Eventing.PublishAsync( 890var nextStartTask = Task.Run(() => env.Eventing.PublishAsync( 960await env.Eventing.PublishAsync( 980var nextStartTask = Task.Run(() => env.Eventing.PublishAsync( 1067var task1 = Task.Run(() => env.Eventing.PublishAsync( 1077var task2 = Task.Run(() => env.Eventing.PublishAsync( 1081var task3 = Task.Run(() => env.Eventing.PublishAsync( 1124() => env.Eventing.PublishAsync(
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 (15)
296.PublishAsync(new BeforeResourceStartedEvent(platform.Resource, app.Services), CancellationToken.None) 594await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, app.Services), CancellationToken.None).DefaultTimeout(); 775await appBuilder.Eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(dashboard.Resource, app.Services), CancellationToken.None).DefaultTimeout(); 831await appBuilder.Eventing.PublishAsync( 843await appBuilder.Eventing.PublishAsync( 891await appBuilder.Eventing.PublishAsync( 941await appBuilder.Eventing.PublishAsync( 995await appBuilder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, app.Services.GetRequiredService<DistributedApplicationModel>()), CancellationToken.None).DefaultTimeout(); 999await appBuilder.Eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(dashboard.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()); 1174appBuilder.Eventing.PublishAsync( 1225appBuilder.Eventing.PublishAsync( 1249await appBuilder.Eventing.PublishAsync( 1341var beforeStartTask = appBuilder.Eventing.PublishAsync(
Aspire.Hosting.MongoDB (2)
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (2)
128await evt.Eventing.PublishAsync(new BeforeResourceStartedEvent(resource, evt.Services), ct) 133await evt.Eventing.PublishAsync(new ConnectionStringAvailableEvent(resource, evt.Services), ct)
Aspire.Hosting.MongoDB.Tests (16)
AddMongoDBTests.cs (10)
140await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, app.Services.GetRequiredService<DistributedApplicationModel>())); 170await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, app.Services.GetRequiredService<DistributedApplicationModel>())); 469await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 494await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 520await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 541await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 579await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 620await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 640await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 658await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel));
ReplicaSet\AddMongoDBReplicaSetTests.cs (5)
224await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 348await eventing.PublishAsync(new ResourceStoppedEvent(mongo1.Resource, app.Services, stoppedResourceEvent)); 352await eventing.PublishAsync(new BeforeResourceStartedEvent(mongo1.Resource, app.Services)); 358await eventing.PublishAsync(new ResourceReadyEvent(mongo1.Resource, app.Services), staleReadyCts.Token); 362await eventing.PublishAsync(new ResourceReadyEvent(mongo1.Resource, app.Services));
SingleMemberReplicaSetTests.cs (1)
125await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, app.Services.GetRequiredService<DistributedApplicationModel>()));
Aspire.Hosting.MySql.Tests (4)
AddMySqlTests.cs (4)
260await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(myAdmin, app.Services)); 291builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(myAdmin, app.Services)); 323await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(myAdmin, app.Services)); 324await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(myAdmin, app.Services));
Aspire.Hosting.OpenAI (2)
OpenAIExtensions.cs (2)
91await evt.Eventing.PublishAsync(new ConnectionStringAvailableEvent(r, evt.Services), ct) 136await evt.Eventing.PublishAsync(new ConnectionStringAvailableEvent(r, evt.Services), ct)
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
2937await eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel), CancellationToken.None);
Aspire.Hosting.Redis.Tests (8)
AddRedisTests.cs (8)
306await eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 332await eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 565await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(commander, app.Services)); 591await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(commander, app.Services)); 612await builder.Eventing.PublishAsync<BeforeResourceStartedEvent>(new(commander, app.Services)); 1000await builder.Eventing.PublishAsync(beforeStartEvent); 1037await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, appModel)); 1073await builder.Eventing.PublishAsync(beforeStartEvent);
Aspire.Hosting.SqlServer.Tests (2)
AddSqlServerTests.cs (2)
321await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(sqlServer.Resource, app.Services)); 322await builder.Eventing.PublishAsync(new ConnectionStringAvailableEvent(db.Resource, app.Services));
Aspire.Hosting.Tests (61)
ContainerRegistryResourceTests.cs (12)
432await builder.Eventing.PublishAsync(beforeStartEvent); 559await builder.Eventing.PublishAsync(beforeStartEvent); 580await builder.Eventing.PublishAsync(beforeStartEvent); 604await builder.Eventing.PublishAsync(beforeStartEvent); 626await builder.Eventing.PublishAsync(beforeStartEvent); 649await builder.Eventing.PublishAsync(beforeStartEvent); 685await builder.Eventing.PublishAsync(beforeStartEvent); 709await builder.Eventing.PublishAsync(beforeStartEvent); 739await builder.Eventing.PublishAsync(beforeStartEvent); 760await builder.Eventing.PublishAsync(beforeStartEvent); 780await builder.Eventing.PublishAsync(beforeStartEvent); 801await builder.Eventing.PublishAsync(beforeStartEvent);
Dcp\DcpExecutorTests.cs (5)
7314await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, distributedAppModel)); 7354await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, distributedAppModel)); 11844await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, distributedAppModel)); 11915await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, distributedAppModel)); 11961await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, distributedAppModel));
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
364await eventing.PublishAsync(testEvent, CancellationToken.None); 463await eventing.PublishAsync(testEvent, CancellationToken.None); 486await eventing.PublishAsync(testEvent, CancellationToken.None);
HealthCheckTests.cs (1)
97await eventing.PublishAsync(new ResourceEndpointsAllocatedEvent(resource.Resource, app.Services));
Orchestrator\ApplicationOrchestratorTests.cs (1)
1645await @event.Eventing.PublishAsync(new BeforeResourceStartedEvent(resource, @event.Services), ct);
ProjectRebuilderResourceTests.cs (4)
32await builder.Eventing.PublishAsync( 36await builder.Eventing.PublishAsync( 70await builder.Eventing.PublishAsync( 103await builder.Eventing.PublishAsync(
ProjectResourceTests.cs (1)
1124var publishTask = builder.Eventing.PublishAsync(
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));
Terminals\ResourceTerminalCatalogTests.cs (1)
265await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model));
WithBindMountTests.cs (2)
199await eventing.PublishAsync(new BeforeResourceStartedEvent(container.Resource, app.Services)); 200await eventing.PublishAsync(new BeforeResourceStartedEvent(container.Resource, app.Services));
WithOtlpExporterTests.cs (1)
326await builder.Eventing.PublishAsync(beforeStartEvent);
WithTerminalTests.cs (13)
356await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 411await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 447await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 525await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 615await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 667await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1063await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1079await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1097await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1427await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1449await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1476await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)); 1498await Assert.ThrowsAsync<IOException>(async () => await builder.Eventing.PublishAsync(new BeforeStartEvent(app.Services, model)));
Aspire.Hosting.Yarp.Tests (2)
AddYarpTests.cs (2)
444await builder.Eventing.PublishAsync(beforeStartEvent); 469await builder.Eventing.PublishAsync(beforeStartEvent);
CustomResources.AppHost (3)
TalkingClockResource.cs (3)
66await eventing.PublishAsync(new BeforeResourceStartedEvent(resource, services), token); 67await eventing.PublishAsync(new BeforeResourceStartedEvent(resource.TickHand, services), token); 68await eventing.PublishAsync(new BeforeResourceStartedEvent(resource.TockHand, services), token);