10 references to BeforeStartEvent
Aspire.Hosting (8)
ApplicationModel\BeforeStartEvent.cs (1)
21
/// Subscribe to the <see cref="
BeforeStartEvent
"/> event and resolve the distributed application model.
BuiltInDistributedApplicationEventSubscriptionHandlers.cs (3)
10
public static Task ExcludeDashboardFromManifestAsync(
BeforeStartEvent
beforeStartEvent, CancellationToken _)
21
public static Task MutateHttp2TransportAsync(
BeforeStartEvent
beforeStartEvent, CancellationToken _)
36
public static Task UpdateContainerRegistryAsync(
BeforeStartEvent
@event, DistributedApplicationOptions options)
DistributedApplication.cs (1)
349
var
beforeStartEvent = new BeforeStartEvent(_host.Services, _host.Services.GetRequiredService<DistributedApplicationModel>());
DistributedApplicationBuilder.cs (3)
260
Eventing.Subscribe<
BeforeStartEvent
>(BuiltInDistributedApplicationEventSubscriptionHandlers.MutateHttp2TransportAsync);
263
Eventing.Subscribe<
BeforeStartEvent
>(BuiltInDistributedApplicationEventSubscriptionHandlers.ExcludeDashboardFromManifestAsync);
268
Eventing.Subscribe<
BeforeStartEvent
>((e, ct) => BuiltInDistributedApplicationEventSubscriptionHandlers.UpdateContainerRegistryAsync(e, options));
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
31
builder.Eventing.Subscribe<
BeforeStartEvent
>((data, token) =>
Aspire.Hosting.Tests (1)
Eventing\DistributedApplicationBuilderEventingTests.cs (1)
85
builder.Eventing.Subscribe<
BeforeStartEvent
>((e, ct) =>