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