7 writes to OnPhase
Aspire.Hosting.Native.Core.Tests (7)
NativeProviderLifecycleTests.cs (7)
266
integration.
OnPhase
= async (phase, scope, token) =>
319
integration.
OnPhase
= async (phase, scope, token) =>
399
integration.
OnPhase
= async (phase, _, token) =>
432
OnPhase
= (phase, _, _) => phase == "retiring" ? Task.FromException(new InvalidOperationException("private-provider-secret")) : Task.CompletedTask
462
integration.
OnPhase
= async (phase, _, token) =>
523
integration.
OnPhase
= async (_, scope, token) =>
582
OnPhase
= async (phase, scope, token) =>
1 reference to OnPhase
Aspire.Hosting.Native.Core.Tests (1)
TestServices\LifecycleProviderTestIntegration.cs (1)
96
if (
OnPhase
is { } handler)