4 references to Append
Aspire.Hosting (4)
ApplicationModel\IResourceBuilder.cs (2)
29
IResourceBuilder<T> WithAnnotation<TAnnotation>(ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation, new() => WithAnnotation(new TAnnotation(), behavior);
39
IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation;
DistributedApplicationResourceBuilder.cs (2)
14
public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.
Append
) where TAnnotation : IResourceAnnotation
20
if (behavior != ResourceAnnotationMutationBehavior.
Append
&& behavior != ResourceAnnotationMutationBehavior.Replace)