Esempio n. 1
0
        public static async Task <int> GetAsync(string packageId, bool prerelease, CancellationToken cancellationToken)
        {
            using var client = new NuGetClient();

            int downloads = await client.GetAsync(packageId, prerelease, cancellationToken);

            return(downloads);
        }