Skip to content

2. GetPackageFromNuget

Enes Okullu edited this page Jul 8, 2024 · 3 revisions

This class has two async methods. Packages can checked individually or as a list.

GetPackageFromNuGetAsync(string packageName, bool includePrerelease);

Returns Package if package is found.

  • string packageName: Name of package on NuGet. For example: "CalculateETA"
  • bool includePrerelease: Indicates if prerelease versions are included during search.
GetPackagesFromNuGetAsync(List<string> packageNameList, bool inclduePrerelease);

Returns list of Packages if package is found.

  • List packageNameList: List of name of packages on NuGet. For example: {"CalculateETA", "GetScaleIndex"}
  • bool includePrerelease: Indicates if prerelease versions are included during search.

Clone this wiki locally