2 instantiations of DummyAnnotation
Aspire.Hosting.Tests (2)
Utils\WithAnnotationTests.cs (2)
29
.WithAnnotation<DummyAnnotation>(new
DummyAnnotation
())
30
.WithAnnotation<DummyAnnotation>(new
DummyAnnotation
());
12 references to DummyAnnotation
Aspire.Hosting.Tests (12)
Utils\WithAnnotationTests.cs (12)
15
.WithAnnotation<
DummyAnnotation
>()
16
.WithAnnotation<
DummyAnnotation
>();
18
var dummyAnnotations = redis.Resource.Annotations.OfType<
DummyAnnotation
>();
29
.WithAnnotation<
DummyAnnotation
>(new DummyAnnotation())
30
.WithAnnotation<
DummyAnnotation
>(new DummyAnnotation());
32
var dummyAnnotations = redis.Resource.Annotations.OfType<
DummyAnnotation
>();
42
var redis = builder.AddRedis("redis").WithAnnotation<
DummyAnnotation
>();
44
var
firstAnnotation = redis.Resource.Annotations.OfType<
DummyAnnotation
>().Single();
46
redis.WithAnnotation<
DummyAnnotation
>(ResourceAnnotationMutationBehavior.Replace);
48
var
secondAnnotation = redis.Resource.Annotations.OfType<
DummyAnnotation
>().Single();