10 references to WaitType
Aspire.Hosting (9)
ApplicationModel\ResourceNotificationService.cs (2)
384WaitType.WaitUntilHealthy => WaitUntilHealthyAsync(resource, waitAnnotation.Resource, waitAnnotation.WaitBehavior ?? DefaultWaitBehavior, cancellationToken), 385WaitType.WaitForCompletion => WaitUntilCompletionAsync(resource, waitAnnotation.Resource, waitAnnotation.ExitCode, cancellationToken),
ApplicationModel\WaitAnnotation.cs (3)
18public sealed class WaitAnnotation(IResource resource, WaitType waitType, int exitCode = 0) : IResourceAnnotation 28public WaitType WaitType { get; } = waitType; 31/// The behavior of the wait. Only applicable when <see cref="WaitType"/> is <see cref="WaitType.WaitUntilHealthy"/>.
Exec\ExecResourceManager.cs (2)
224executable.Annotations.Add(new WaitAnnotation(project, waitType: WaitType.WaitUntilHealthy)); 255containerExecutable.Annotations.Add(new WaitAnnotation(container, waitType: WaitType.WaitUntilHealthy));
ResourceBuilderExtensions.cs (2)
1220return builder.WithAnnotation(new WaitAnnotation(dependency.Resource, WaitType.WaitUntilHealthy) { WaitBehavior = waitBehavior }); 1292return builder.WithAnnotation(new WaitAnnotation(dependency.Resource, WaitType.WaitForCompletion, exitCode));
Aspire.Hosting.Docker (1)
DockerComposeServiceResource.cs (1)
144WaitType.WaitForCompletion => "service_completed_successfully",