3 implementations of BeforeStartAsync
Aspire.Hosting.Dapr (1)
DaprDistributedApplicationLifecycleHook.cs (1)
35public async Task BeforeStartAsync(DistributedApplicationModel appModel, CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (1)
Helpers\CallbackLifecycleHook.cs (1)
17public Task BeforeStartAsync(DistributedApplicationModel appModel, CancellationToken cancellationToken = default)
Aspire.Playground.Tests (1)
Infrastructure\DistributedApplicationTestFactory.cs (1)
60public Task BeforeStartAsync(DistributedApplicationModel appModel, CancellationToken cancellationToken = default)
3 references to BeforeStartAsync
Aspire.Hosting (3)
ApplicationModel\BeforeStartEvent.cs (2)
14/// Subscribing to this event is analogous to implementing the <see cref="Aspire.Hosting.Lifecycle.IDistributedApplicationLifecycleHook.BeforeStartAsync(Aspire.Hosting.ApplicationModel.DistributedApplicationModel, CancellationToken)"/> 17/// in <see cref="Aspire.Hosting.Lifecycle.IDistributedApplicationLifecycleHook.BeforeStartAsync(Aspire.Hosting.ApplicationModel.DistributedApplicationModel, CancellationToken)"/>.
DistributedApplication.cs (1)
358await lifecycleHook.BeforeStartAsync(appModel, cancellationToken).ConfigureAwait(false);