2 instantiations of PythonEntrypointAnnotation
Aspire.Hosting.Python (2)
PythonAppResourceBuilderExtensions.cs (2)
367
.WithAnnotation(new
PythonEntrypointAnnotation
1120
builder.WithAnnotation(new
PythonEntrypointAnnotation
20 references to PythonEntrypointAnnotation
Aspire.Hosting.Python (10)
PythonAppResourceBuilderExtensions.cs (10)
441
if (!context.Resource.TryGetLastAnnotation<
PythonEntrypointAnnotation
>(out
var
entrypointAnnotation))
554
!resource.TryGetLastAnnotation<
PythonEntrypointAnnotation
>(out
var
entrypointAnnotation))
936
if (!builder.Resource.TryGetLastAnnotation<
PythonEntrypointAnnotation
>(out
var
entrypointAnnotation))
992
if (!builder.Resource.TryGetLastAnnotation<
PythonEntrypointAnnotation
>(out
var
entrypointAnnotation))
1133
if (!context.Resource.TryGetLastAnnotation<
PythonEntrypointAnnotation
>(out
var
existingAnnotation))
Aspire.Hosting.Python.Tests (10)
AddPythonAppTests.cs (10)
221
var
entrypointAnnotation = resource.Annotations.OfType<
PythonEntrypointAnnotation
>().Single();
965
var
entrypointAnnotation = resource.Annotations.OfType<
PythonEntrypointAnnotation
>().Single();
984
var
entrypointAnnotation = resource.Annotations.OfType<
PythonEntrypointAnnotation
>().Single();
1003
var
entrypointAnnotation = resource.Annotations.OfType<
PythonEntrypointAnnotation
>().Single();
1198
var
entrypointAnnotation = resource.Annotations.OfType<
PythonEntrypointAnnotation
>().Single();