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