Свойство | Type | Description | |
---|---|---|---|
EnsureFileExists | void | ||
EnsurePackageRestoreConsent | void | ||
ExecuteInParallel | bool | ||
ExecuteLocked | void | ||
GenerateUniqueToken | string | ||
GetRepository | IPackageRepository | ||
InstallCommand | System | ||
InstallPackage | bool | ||
InstallPackagesFromConfigFile | void | ||
IsPackageInstalled | bool |
Méthode | Description | |
---|---|---|
ExecuteCommand ( ) : void |
Méthode | Description | |
---|---|---|
CreateFileSystem ( ) : IFileSystem | ||
CreatePackageManager ( IFileSystem fileSystem ) : IPackageManager | ||
GetPackageReferenceFile ( string path ) : PackageReferenceFile | ||
InstallCommand ( IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider sourceProvider, ISettings configSettings, IPackageRepository cacheRepository ) : System |
Méthode | Description | |
---|---|---|
EnsureFileExists ( IFileSystem fileSystem, string configFilePath ) : void | ||
EnsurePackageRestoreConsent ( bool packageRestoreConsent ) : void | ||
ExecuteInParallel ( IFileSystem fileSystem, List |
||
ExecuteLocked ( string name, System.Action action ) : void | ||
GenerateUniqueToken ( IPackageManager packageManager, string packageId, SemanticVersion version ) : string |
We want to base the lock name off of the full path of the package, however, the Mutex looks for files on disk if a path is given. Additionally, it also fails if the string is longer than 256 characters. Therefore we obtain a base-64 encoded hash of the path.
|
|
GetRepository ( ) : IPackageRepository | ||
InstallCommand ( IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider sourceProvider ) : System | ||
InstallPackage ( IFileSystem fileSystem, string packageId, SemanticVersion version, bool ignoreDependencies, bool packageRestoreConsent, string operation ) : bool | ||
InstallPackagesFromConfigFile ( IFileSystem fileSystem, PackageReferenceFile file ) : void | ||
IsPackageInstalled ( LocalPackageRepository packageRepository, IFileSystem fileSystem, string packageId, SemanticVersion version ) : bool |
protected CreateFileSystem ( ) : IFileSystem | ||
Résultat | IFileSystem |
protected CreatePackageManager ( IFileSystem fileSystem ) : IPackageManager | ||
fileSystem | IFileSystem | |
Résultat | IPackageManager |
protected GetPackageReferenceFile ( string path ) : PackageReferenceFile | ||
path | string | |
Résultat | PackageReferenceFile |
protected InstallCommand ( IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider sourceProvider, ISettings configSettings, IPackageRepository cacheRepository ) : System | ||
packageRepositoryFactory | IPackageRepositoryFactory | |
sourceProvider | IPackageSourceProvider | |
configSettings | ISettings | |
cacheRepository | IPackageRepository | |
Résultat | System |