8 instantiations of ExecutableAnnotation
Aspire.Hosting (2)
ApplicationModel\ExecutableResource.cs (1)
28
Annotations.Add(new
ExecutableAnnotation
ExecutableResourceBuilderExtensions.cs (1)
182
executableAnnotation = new
ExecutableAnnotation
Aspire.Hosting.Maui (6)
MauiAndroidExtensions.cs (2)
153
.WithAnnotation(new
ExecutableAnnotation
338
.WithAnnotation(new
ExecutableAnnotation
MauiiOSExtensions.cs (2)
160
.WithAnnotation(new
ExecutableAnnotation
346
.WithAnnotation(new
ExecutableAnnotation
MauiMacCatalystExtensions.cs (1)
87
.WithAnnotation(new
ExecutableAnnotation
MauiWindowsExtensions.cs (1)
87
.WithAnnotation(new
ExecutableAnnotation
17 references to ExecutableAnnotation
Aspire.Hosting (5)
ApplicationModel\ExecutableResource.cs (2)
45
private
ExecutableAnnotation
GetAnnotation() => Annotations.OfType<
ExecutableAnnotation
>().LastOrDefault()
ExecutableResourceBuilderExtensions.cs (3)
175
var
executableAnnotation = builder.Resource.Annotations.OfType<
ExecutableAnnotation
>().LastOrDefault();
204
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.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
1356
if (installerResource.TryGetLastAnnotation<
ExecutableAnnotation
>(out
var
executable) &&
Aspire.Hosting.Tests (8)
ExecutableResourceBuilderExtensionTests.cs (8)
23
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
34
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
49
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();
70
var
annotation = executable.Resource.Annotations.OfType<
ExecutableAnnotation
>().Single();