8 instantiations of ExecutableAnnotation
Aspire.Hosting (2)
ApplicationModel\ExecutableResource.cs (1)
30
Annotations.Add(new
ExecutableAnnotation
ExecutableResourceBuilderExtensions.cs (1)
188
executableAnnotation = new
ExecutableAnnotation
Aspire.Hosting.Maui (6)
MauiAndroidExtensions.cs (2)
162
.WithAnnotation(new
ExecutableAnnotation
356
.WithAnnotation(new
ExecutableAnnotation
MauiiOSExtensions.cs (2)
169
.WithAnnotation(new
ExecutableAnnotation
364
.WithAnnotation(new
ExecutableAnnotation
MauiMacCatalystExtensions.cs (1)
92
.WithAnnotation(new
ExecutableAnnotation
MauiWindowsExtensions.cs (1)
92
.WithAnnotation(new
ExecutableAnnotation
15 references to ExecutableAnnotation
Aspire.Hosting (5)
ApplicationModel\ExecutableResource.cs (2)
47
private
ExecutableAnnotation
GetAnnotation() => Annotations.OfType<
ExecutableAnnotation
>().LastOrDefault()
ExecutableResourceBuilderExtensions.cs (3)
181
var
executableAnnotation = builder.Resource.Annotations.OfType<
ExecutableAnnotation
>().LastOrDefault();
211
if (builder.Resource.Annotations.OfType<
ExecutableAnnotation
>().LastOrDefault() is { } executableAnnotation)
Aspire.Hosting.Maui.Tests (2)
MauiPlatformExtensionsTests.cs (2)
155
var
execAnnotation = resource.Annotations.OfType<
ExecutableAnnotation
>().FirstOrDefault();
Aspire.Hosting.Tests (8)
ExecutableResourceBuilderExtensionTests.cs (8)
24
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
35
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
50
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
71
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();