6 references to WaitAnnotation
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (2)
240if (!resource.TryGetAnnotationsOfType<WaitAnnotation>(out var waitAnnotations)) 246foreach (var waitAnnotation in waitAnnotations)
ApplicationModel\WaitAnnotation.cs (1)
15/// The holder of this annotation is waiting on the resource in the <see cref="WaitAnnotation.Resource"/> property.
Aspire.Hosting.Dapr (2)
DaprDistributedApplicationLifecycleHook.cs (2)
75var waitAnnotationsToCopyToDaprCli = new List<WaitAnnotation>(); 80if (componentReferenceAnnotation.Component.TryGetAnnotationsOfType<WaitAnnotation>(out var componentWaitAnnotations))
Aspire.Hosting.Tests (1)
WaitForTests.cs (1)
352Assert.True(containerResource.Resource.TryGetAnnotationsOfType<WaitAnnotation>(out var waitAnnotations));