9 references to WaitOnResourceUnavailable
Aspire.Hosting (5)
ApplicationModel\ResourceNotificationService.cs (3)
212WaitBehavior.WaitOnResourceUnavailable => snapshot.State?.Text == KnownResourceStates.Running, 266/// When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified the wait operation 294WaitBehavior.WaitOnResourceUnavailable => snapshot.HealthStatus == HealthStatus.Healthy,
DistributedApplicationBuilder.cs (1)
258o.DefaultWaitBehavior = options.DisableDashboard ? WaitBehavior.StopOnResourceUnavailable : WaitBehavior.WaitOnResourceUnavailable;
ResourceBuilderExtensions.cs (1)
1158/// wait operation. When <see cref="WaitBehavior.WaitOnResourceUnavailable"/> is specified, the wait
Aspire.Hosting.Tests (4)
WaitForTests.cs (4)
268WaitBehavior.WaitOnResourceUnavailable 277[InlineData(WaitBehavior.WaitOnResourceUnavailable, typeof(TimeoutException), "The operation has timed out.")] 351.WaitFor(dependency, WaitBehavior.WaitOnResourceUnavailable); 392o.DefaultWaitBehavior = WaitBehavior.WaitOnResourceUnavailable;