Property | Type | Description | |
---|---|---|---|
AddPackageSource | void | ||
CreateDirectoryInternal | void | ||
FilterOnContains | IEnumerable |
||
FilterOnName | IEnumerable |
||
FilterOnTags | IEnumerable |
||
FilterOnVersion | IEnumerable |
||
FindRegisteredSource | |||
GetInstalledPackages | bool | ||
GetInstalledPackagesOptionValue | IEnumerable |
||
GetPackageByFastpath | PackageItem | ||
GetPackageByFilePath | PackageItem | ||
GetPackageByFilePath | PackageItem | ||
GetPackageById | IEnumerable |
||
GetPackageById | IEnumerable |
||
LocationCloseEnoughMatch | bool | ||
MakeFastPath | string | ||
MakeTagId | string | ||
MinAndMaxVersionMatched | bool | ||
RemovePackageSource | void | ||
ResolvePackageSource | |||
SearchForPackages | IEnumerable |
||
SearchForPackages | IEnumerable |
||
TryParseFastPath | bool | ||
ValidateSourceLocation | bool | ||
YieldPackage | bool | ||
YieldPackages | bool |
Method | Description | |
---|---|---|
NuGetRequest ( ) : System |
Ctor required by the PackageManagement Platform
|
Method | Description | |
---|---|---|
AddPackageSource ( string name, string location, bool isTrusted, bool isValidated ) : void |
Register the package source
|
|
CreateDirectoryInternal ( string dirPath ) : void | ||
FilterOnContains ( IEnumerable |
||
FilterOnName ( IEnumerable |
||
FilterOnTags ( IEnumerable |
||
FilterOnVersion ( IEnumerable |
||
FindRegisteredSource ( string name ) : |
Return the package source object
|
|
GetInstalledPackages ( string name, string requiredVersion, string minimumVersion, string maximumVersion, bool minInclusive = true, bool maxInclusive = true, bool terminateFirstFound = false ) : bool |
Search in the destination of the request to checks whether the package name is installed. Returns true if at least 1 package is installed
|
|
GetInstalledPackagesOptionValue ( ) : IEnumerable |
||
GetPackageByFastpath ( string fastPath ) : PackageItem |
Get the PackageItem object from the fast path
|
|
GetPackageByFilePath ( string filePath ) : PackageItem |
Get a package object from the package manifest file
|
|
GetPackageByFilePath ( string filePath, string packageName ) : PackageItem |
Get a package object from the package manifest file
|
|
GetPackageById ( |
||
GetPackageById ( string name, |
Get the package based on given package id
|
|
LocationCloseEnoughMatch ( string givenLocation, string knownLocation ) : bool | ||
MakeFastPath ( |
Encrypting a path containing package source location, id, version and source
|
|
MakeTagId ( PackageItem pkg ) : string | ||
MinAndMaxVersionMatched ( Microsoft.PackageManagement.Provider.Utility.SemanticVersion packageVersion, string minimumVersion, string maximumVersion, bool minInclusive, bool maxInclusive ) : bool | ||
RemovePackageSource ( string id ) : void |
Unregister the package source
|
|
ResolvePackageSource ( string nameOrLocation ) : |
||
SearchForPackages ( |
Search the entire repository for the packages
|
|
SearchForPackages ( string name ) : IEnumerable |
||
TryParseFastPath ( string fastPath, string &source, string &id, string &version, string &sources ) : bool | ||
ValidateSourceLocation ( string location ) : bool |
Check if the package source location is valid
|
|
YieldPackage ( PackageItem pkg, string searchKey, string destinationPath = null ) : bool |
Communicate to the PackageManagement platform about the package info
|
|
YieldPackages ( IEnumerable |
Communicate to the PackageManagement platform about the package info
|