14 references to Append
Aspire.Hosting (13)
ApplicationModel\IResourceBuilder.cs (2)
29IResourceBuilder<T> WithAnnotation<TAnnotation>(ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation : IResourceAnnotation, new() => WithAnnotation(new TAnnotation(), behavior); 39IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation : IResourceAnnotation;
ApplicationModel\ResourceExtensions.cs (2)
486return builder.WithAnnotation(new ContainerBuildOptionsCallbackAnnotation(callback), ResourceAnnotationMutationBehavior.Append); 505return builder.WithAnnotation(new ContainerBuildOptionsCallbackAnnotation(callback), ResourceAnnotationMutationBehavior.Append);
ContainerResourceBuilderExtensions.cs (6)
83}), ResourceAnnotationMutationBehavior.Append); 748.WithAnnotation(defaultContainerBuildOptions, ResourceAnnotationMutationBehavior.Append) 753.WithAnnotation(defaultContainerBuildOptions, ResourceAnnotationMutationBehavior.Append) 1199return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.Append); 1270return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.Append); 1312return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.Append);
DistributedApplicationResourceBuilder.cs (2)
14public IResourceBuilder<T> WithAnnotation<TAnnotation>(TAnnotation annotation, ResourceAnnotationMutationBehavior behavior = ResourceAnnotationMutationBehavior.Append) where TAnnotation : IResourceAnnotation 20if (behavior != ResourceAnnotationMutationBehavior.Append && behavior != ResourceAnnotationMutationBehavior.Replace)
ResourceBuilderExtensions.cs (1)
2594return builder.WithAnnotation(annotation, ResourceAnnotationMutationBehavior.Append);
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
107resourceBuilder.WithAnnotation(new UnsupportedPlatformAnnotation(reason), ResourceAnnotationMutationBehavior.Append);