Метод | Описание | |
---|---|---|
AddPackage ( IPackage package ) : void | ||
Clear ( ) : void | ||
Exists ( string packageId, SemanticVersion version ) : bool |
Метод | Описание | |
---|---|---|
GetPackageFilePath ( IPackage package ) : string | ||
GetPackageFilePath ( string id, SemanticVersion version ) : string |
Метод | Описание | |
---|---|---|
CreateDefault ( Func |
Creates a Machine Cache instance, assigns it to the instance variable and returns it.
|
|
GetCachePath ( ) : string |
Determines the cache path to use for NuGet.exe. By default, NuGet caches files under %LocalAppData%\NuGet\Cache. This path can be overridden by specifying a value in the NuGetCachePath environment variable.
|
|
GetCachePath ( string>.Func |
||
MachineCache ( IFileSystem fileSystem ) : System | ||
TryAct ( System.Action action ) : void | ||
TryClear ( IEnumerable |
public AddPackage ( IPackage package ) : void | ||
package | IPackage | |
Результат | void |
public Exists ( string packageId, SemanticVersion version ) : bool | ||
packageId | string | |
version | SemanticVersion | |
Результат | bool |
protected GetPackageFilePath ( IPackage package ) : string | ||
package | IPackage | |
Результат | string |
protected GetPackageFilePath ( string id, SemanticVersion version ) : string | ||
id | string | |
version | SemanticVersion | |
Результат | string |