10 references to WaitOnResourceUnavailable
Aspire.Hosting (6)
ApplicationModel\ResourceNotificationService.cs (3)
209/// When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified the wait operation 237WaitBehavior.WaitOnResourceUnavailable => snapshot.HealthStatus == HealthStatus.Healthy, 358WaitBehavior.WaitOnResourceUnavailable => snapshot.State?.Text == KnownResourceStates.Running,
DistributedApplicationBuilder.cs (1)
259o.DefaultWaitBehavior = options.DisableDashboard ? WaitBehavior.StopOnResourceUnavailable : WaitBehavior.WaitOnResourceUnavailable;
ResourceBuilderExtensions.cs (2)
1158/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait 1262/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait
Aspire.Hosting.Tests (4)
WaitForTests.cs (4)
269WaitBehavior.WaitOnResourceUnavailable 278[InlineData(WaitBehavior.WaitOnResourceUnavailable, typeof(TimeoutException), "The operation has timed out.")] 352.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable); 393o.DefaultWaitBehavior = WaitBehavior.WaitOnResourceUnavailable;