1 instantiation of PythonInstallerResource
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1269
var installer = new
PythonInstallerResource
(installerName, builder.Resource);
31 references to PythonInstallerResource
Aspire.Hosting.Python (3)
PythonAppResourceBuilderExtensions.cs (3)
1248
builder.ApplicationBuilder.TryCreateResourceBuilder<
PythonInstallerResource
>(installerName, out var existingResource);
1269
var
installer = new PythonInstallerResource(installerName, builder.Resource);
1374
builder.TryCreateResourceBuilder<
PythonInstallerResource
>(installerName, out var installerBuilder);
Aspire.Hosting.Python.Tests (28)
AddPythonAppTests.cs (28)
726
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
780
var
uvEnvironmentResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
816
var
uvEnvironmentResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
837
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
868
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
1829
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
1864
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
1918
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
2028
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
2068
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
2134
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
2168
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().Single();
2201
var
installerResource = appModel.Resources.OfType<
PythonInstallerResource
>().SingleOrDefault();
2234
Assert.Single(appModel.Resources.OfType<
PythonInstallerResource
>());
2266
Assert.Single(appModel.Resources.OfType<
PythonInstallerResource
>());