1 instantiation of PythonInstallerResource
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1347var installer = new PythonInstallerResource(installerName, builder.Resource);
31 references to PythonInstallerResource
Aspire.Hosting.Python (3)
PythonAppResourceBuilderExtensions.cs (3)
1326builder.ApplicationBuilder.TryCreateResourceBuilder<PythonInstallerResource>(installerName, out var existingResource); 1347var installer = new PythonInstallerResource(installerName, builder.Resource); 1472builder.TryCreateResourceBuilder<PythonInstallerResource>(installerName, out var installerBuilder);
Aspire.Hosting.Python.Tests (28)
AddPythonAppTests.cs (28)
726var installerResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 780var uvEnvironmentResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 816var uvEnvironmentResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 837var installerResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 868var installerResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 1850var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 1885var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 1939var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 2049var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 2089var installerResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 2155var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 2189var installerResource = appModel.Resources.OfType<PythonInstallerResource>().Single(); 2222var installerResource = appModel.Resources.OfType<PythonInstallerResource>().SingleOrDefault(); 2255Assert.Single(appModel.Resources.OfType<PythonInstallerResource>()); 2287Assert.Single(appModel.Resources.OfType<PythonInstallerResource>());