1 instantiation of ProductCollection
Microsoft.Deployment.DotNet.Releases (1)
ProductCollection.cs (1)
126return new ProductCollection(products);
20 references to ProductCollection
dotnet (13)
Commands\Sdk\Check\BundleOutputWriter.cs (2)
13ProductCollection productCollection, 17protected ProductCollection _productCollection = productCollection;
Commands\Sdk\Check\IProductCollectionProvider.cs (1)
12ProductCollection GetProductCollection(Uri uri = null, string filePath = null);
Commands\Sdk\Check\ProductCollectionProvider.cs (4)
13public ProductCollection GetProductCollection(Uri uri = null, string filePath = null) 17return uri != null ? Task.Run(() => ProductCollection.GetAsync(uri.ToString())).Result : 18filePath != null ? Task.Run(() => ProductCollection.GetFromFileAsync(filePath, false)).Result : 19Task.Run(() => ProductCollection.GetAsync()).Result;
Commands\Sdk\Check\RuntimeOutputWriter.cs (1)
12ProductCollection productCollection,
Commands\Sdk\Check\SdkCheckCommand.cs (1)
53var productCollection = _productCollectionProvider.GetProductCollection(
Commands\Sdk\Check\SdkOutputWriter.cs (1)
12ProductCollection productCollection,
SdkVulnerability\SdkReleaseMetadataCache.cs (2)
107ProductCollection productCollection = await ProductCollection.GetAsync().ConfigureAwait(false);
SdkVulnerability\SdkVulnerabilityChecker.cs (1)
23ProductCollection productCollection,
Microsoft.Deployment.DotNet.Releases (7)
ProductCollection.cs (7)
25/// Creates a new <see cref="ProductCollection"/> instance. 44public static async Task<ProductCollection> GetAsync() 54public static async Task<ProductCollection> GetAsync(string releasesIndexUri) 74public static async Task<ProductCollection> GetAsync(Uri releasesIndexUrl) 87/// Creates a new <see cref="ProductCollection"/> using the specified file containing the releases index. If 99public static async Task<ProductCollection> GetFromFileAsync(string path, bool downloadLatest) 108private static async Task<ProductCollection> GetAsync(Stream stream)