8 references to ProviderLifecyclePhases
Aspire.Hosting.Native.Core (4)
Runtime\DeclarativeApplication.cs (4)
279
await InvokeProvider(
ProviderLifecyclePhases
.Allocated, retirementValues, cancellationToken).ConfigureAwait(false);
295
await InvokeProvider(
ProviderLifecyclePhases
.Ready, retirementValues, cancellationToken).ConfigureAwait(false);
330
await InvokeProvider(
ProviderLifecyclePhases
.Retiring, retirementValues, deadline.Token).ConfigureAwait(false);
338
await InvokeProvider(
ProviderLifecyclePhases
.Initialize, retirementValues, token).ConfigureAwait(false);
Aspire.Hosting.Native.Server (4)
Rpc\NativeProviderContractProjection.cs (4)
71
if (phase is not null && (phase is not (
ProviderLifecyclePhases
.Initialize or
ProviderLifecyclePhases
.Allocated or
ProviderLifecyclePhases
.Ready or
ProviderLifecyclePhases
.Retiring) ||