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