1 instantiation of PythonVenvCreatorResource
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1419
var venvCreator = new
PythonVenvCreatorResource
(venvCreatorName, builder.Resource, venvPath);
26 references to PythonVenvCreatorResource
Aspire.Hosting.Python (4)
PythonAppResourceBuilderExtensions.cs (4)
1412
if (builder.ApplicationBuilder.TryCreateResourceBuilder<
PythonVenvCreatorResource
>(venvCreatorName, out _))
1419
var
venvCreator = new PythonVenvCreatorResource(venvCreatorName, builder.Resource, venvPath);
1455
if (builder.ApplicationBuilder.TryCreateResourceBuilder<
PythonVenvCreatorResource
>(venvCreatorName, out var venvCreatorBuilder))
1471
builder.TryCreateResourceBuilder<
PythonVenvCreatorResource
>(venvCreatorName, out var venvCreatorBuilder);
Aspire.Hosting.Python.Tests (22)
AddPythonAppTests.cs (22)
1962
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
1989
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2017
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2045
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2085
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2121
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2151
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2185
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2218
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2251
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();
2283
var
venvCreatorResource = appModel.Resources.OfType<
PythonVenvCreatorResource
>().SingleOrDefault();