프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EnsureFileExists | void | ||
EnsurePackageRestoreConsent | void | ||
ExecuteInParallel | bool | ||
ExecuteLocked | void | ||
GenerateUniqueToken | string | ||
GetRepository | IPackageRepository | ||
InstallCommand | System | ||
InstallPackage | bool | ||
InstallPackagesFromConfigFile | void | ||
IsPackageInstalled | bool |
메소드 | 설명 | |
---|---|---|
ExecuteCommand ( ) : void |
메소드 | 설명 | |
---|---|---|
CreateFileSystem ( ) : IFileSystem | ||
CreatePackageManager ( IFileSystem fileSystem ) : IPackageManager | ||
GetPackageReferenceFile ( string path ) : PackageReferenceFile | ||
InstallCommand ( IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider sourceProvider, ISettings configSettings, IPackageRepository cacheRepository ) : System |
메소드 | 설명 | |
---|---|---|
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 CreatePackageManager ( IFileSystem fileSystem ) : IPackageManager | ||
fileSystem | IFileSystem | |
리턴 | IPackageManager |
protected GetPackageReferenceFile ( string path ) : PackageReferenceFile | ||
path | string | |
리턴 | PackageReferenceFile |
protected InstallCommand ( IPackageRepositoryFactory packageRepositoryFactory, IPackageSourceProvider sourceProvider, ISettings configSettings, IPackageRepository cacheRepository ) : System | ||
packageRepositoryFactory | IPackageRepositoryFactory | |
sourceProvider | IPackageSourceProvider | |
configSettings | ISettings | |
cacheRepository | IPackageRepository | |
리턴 | System |