12 references to BeforeStartEvent
Aspire.Hosting (10)
ApplicationModel\BeforeStartEvent.cs (1)
20
/// Subscribe to the <see cref="
BeforeStartEvent
"/> event and resolve the distributed application model.
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (4)
12
public static Task InitializeDcpAnnotations(
BeforeStartEvent
beforeStartEvent, CancellationToken _)
36
public static Task ExcludeDashboardFromManifestAsync(
BeforeStartEvent
beforeStartEvent, CancellationToken _)
47
public static Task MutateHttp2TransportAsync(
BeforeStartEvent
beforeStartEvent, CancellationToken _)
62
public static Task UpdateContainerRegistryAsync(
BeforeStartEvent
@event, DistributedApplicationOptions options)
DistributedApplication.cs (1)
349
var
beforeStartEvent = new BeforeStartEvent(_host.Services, _host.Services.GetRequiredService<DistributedApplicationModel>());
DistributedApplicationBuilder.cs (4)
300
Eventing.Subscribe<
BeforeStartEvent
>(BuiltInDistributedApplicationEventSubscriptionHandlers.InitializeDcpAnnotations);
304
Eventing.Subscribe<
BeforeStartEvent
>(BuiltInDistributedApplicationEventSubscriptionHandlers.MutateHttp2TransportAsync);
307
Eventing.Subscribe<
BeforeStartEvent
>(BuiltInDistributedApplicationEventSubscriptionHandlers.ExcludeDashboardFromManifestAsync);
312
Eventing.Subscribe<
BeforeStartEvent
>((e, ct) => BuiltInDistributedApplicationEventSubscriptionHandlers.UpdateContainerRegistryAsync(e, options));
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
71
builder.Eventing.Subscribe<
BeforeStartEvent
>((data, token) =>
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
234
builder.Eventing.Subscribe<
BeforeStartEvent
>((e, ct) =>