12 references to WaitOnResourceUnavailable
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (3)
233/// When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified the wait operation 318WaitBehavior.WaitOnResourceUnavailable => snapshot.HealthStatus == HealthStatus.Healthy, 466WaitBehavior.WaitOnResourceUnavailable => snapshot.State?.Text == KnownResourceStates.Running,
DistributedApplicationBuilder.cs (1)
438o.DefaultWaitBehavior = options.DisableDashboard ? WaitBehavior.StopOnResourceUnavailable : WaitBehavior.WaitOnResourceUnavailable;
ResourceBuilderExtensions.cs (2)
2528/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait 2651/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait
Aspire.Hosting.Tests (6)
ResourceNotificationTests.cs (2)
1422[InlineData(WaitBehavior.WaitOnResourceUnavailable)] 1692var waitTask = notificationService.WaitForResourceHealthyAsync("does-not-exist", WaitBehavior.WaitOnResourceUnavailable, cts.Token);
WaitForTests.cs (4)
270WaitBehavior.WaitOnResourceUnavailable 279[InlineData(WaitBehavior.WaitOnResourceUnavailable, typeof(TimeoutException), "The operation has timed out.")] 353.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable); 394o.DefaultWaitBehavior = WaitBehavior.WaitOnResourceUnavailable;