2 instantiations of ExecutableAnnotation
Aspire.Hosting (2)
ApplicationModel\ExecutableResource.cs (1)
29Annotations.Add(new ExecutableAnnotation
ExecutableResourceBuilderExtensions.cs (1)
169executableAnnotation = new ExecutableAnnotation
13 references to ExecutableAnnotation
Aspire.Hosting (5)
ApplicationModel\ExecutableResource.cs (2)
46private ExecutableAnnotation GetAnnotation() => Annotations.OfType<ExecutableAnnotation>().LastOrDefault()
ExecutableResourceBuilderExtensions.cs (3)
162var executableAnnotation = builder.Resource.Annotations.OfType<ExecutableAnnotation>().LastOrDefault(); 191if (builder.Resource.Annotations.OfType<ExecutableAnnotation>().LastOrDefault() is { } executableAnnotation)
Aspire.Hosting.Tests (8)
ExecutableResourceBuilderExtensionTests.cs (8)
18var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 29var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 44var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 65var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single();