4 instantiations of ExecutableAnnotation
Aspire.Hosting (2)
ApplicationModel\ExecutableResource.cs (1)
28Annotations.Add(new ExecutableAnnotation
ExecutableResourceBuilderExtensions.cs (1)
178executableAnnotation = new ExecutableAnnotation
Aspire.Hosting.Maui (2)
MauiMacCatalystExtensions.cs (1)
101.WithAnnotation(new ExecutableAnnotation
MauiWindowsExtensions.cs (1)
101.WithAnnotation(new ExecutableAnnotation
17 references to ExecutableAnnotation
Aspire.Hosting (5)
ApplicationModel\ExecutableResource.cs (2)
45private ExecutableAnnotation GetAnnotation() => Annotations.OfType<ExecutableAnnotation>().LastOrDefault()
ExecutableResourceBuilderExtensions.cs (3)
171var executableAnnotation = builder.Resource.Annotations.OfType<ExecutableAnnotation>().LastOrDefault(); 200if (builder.Resource.Annotations.OfType<ExecutableAnnotation>().LastOrDefault() is { } executableAnnotation)
Aspire.Hosting.Maui.Tests (4)
MauiMacCatalystExtensionsTests.cs (2)
160var executableAnnotation = macCatalyst.Resource.Annotations.OfType<ExecutableAnnotation>().Single();
MauiWindowsExtensionsTests.cs (2)
175var execAnnotation = resource.Annotations.OfType<ExecutableAnnotation>().FirstOrDefault();
Aspire.Hosting.Tests (8)
ExecutableResourceBuilderExtensionTests.cs (8)
23var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 34var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 49var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single(); 70var annotation = executable.Resource.Annotations.OfType<ExecutableAnnotation>().Single();