Interface IPackageService
Service to manage packages (Package)
public interface IPackageService
Methods
DownloadPackageAsync(string, string)
Downloads a specific package as .nupkg file
Task DownloadPackageAsync(string packageId, string version)
Parameters
Returns
GetPackageAsync(string, string, bool)
Returns a specific package
Task<Package> GetPackageAsync(string packageId, string version, bool download)
Parameters
Returns
GetPackageUpdatesAsync(string)
Returns a list of packages based on installationid
Task<List<Package>> GetPackageUpdatesAsync(string type)
Parameters
type
string
Returns
GetPackagesAsync(string)
Returns a list of packages matching the given parameters
Task<List<Package>> GetPackagesAsync(string type)
Parameters
type
string
Returns
GetPackagesAsync(string, string, string, string)
Returns a list of packages matching the given parameters
Task<List<Package>> GetPackagesAsync(string type, string search, string price, string package)
Parameters
Returns
GetPackagesAsync(string, string, string, string, string)
Returns a list of packages matching the given parameters
Task<List<Package>> GetPackagesAsync(string type, string search, string price, string package, string sort)
Parameters
Returns
InstallPackagesAsync()
Installs all packages located in //TODO: 2dm where?
Task InstallPackagesAsync()