6 references to WithAnnotation
Aspire.Hosting (2)
ApplicationModel\ResourceAnnotationMutationBehavior.cs (1)
7/// Specifies behavior of the <see cref="IResourceBuilder{T}.WithAnnotation{TAnnotation}(Aspire.Hosting.ApplicationModel.ResourceAnnotationMutationBehavior)" />
ProjectResourceBuilderExtensions.cs (1)
601builder.WithAnnotation<DisableForwardedHeadersAnnotation>(ResourceAnnotationMutationBehavior.Replace);
Aspire.Hosting.Tests (4)
Utils\WithAnnotationTests.cs (4)
15.WithAnnotation<DummyAnnotation>() 16.WithAnnotation<DummyAnnotation>(); 42var redis = builder.AddRedis("redis").WithAnnotation<DummyAnnotation>(); 46redis.WithAnnotation<DummyAnnotation>(ResourceAnnotationMutationBehavior.Replace);