C# Класс NuGet.Commands.UpdateCommand

Наследование: Command, ILogger
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
GetInputFile string
GetMSBuildProject IMSBuildProjectSystem
GetNuGetVersion SemanticVersion
GetPackages IEnumerable
GetPackagesConfigPath string
GetPackagesDir string
GetProject ProjectPair
GetReposioryPath string
GetRepositoryPathFromSolution string
SelfUpdate void
UpdateAllPackages void
UpdateCommand System
UpdatePackages void
UpdatePackages void
UpdatePackages void

Открытые методы

Метод Описание
ExecuteCommand ( ) : void

Защищенные методы

Метод Описание
Move ( string oldPath, string newPath ) : void
UpdateFile ( string exePath, IPackageFile file ) : void

Приватные методы

Метод Описание
GetInputFile ( ) : string
GetMSBuildProject ( string packageReferenceFilePath ) : IMSBuildProjectSystem
GetNuGetVersion ( ICustomAttributeProvider assembly ) : SemanticVersion
GetPackages ( IPackageRepository repository ) : IEnumerable
GetPackagesConfigPath ( string path ) : string
GetPackagesDir ( string packagesDir ) : string
GetProject ( string packagesConfigPath ) : ProjectPair
GetReposioryPath ( string projectRoot ) : string
GetRepositoryPathFromSolution ( string solutionDir ) : string
SelfUpdate ( string exePath, SemanticVersion version ) : void
UpdateAllPackages ( string solutionDir ) : void
UpdateCommand ( IPackageRepositoryFactory repositoryFactory, IPackageSourceProvider sourceProvider ) : System
UpdatePackages ( IPackageRepository localRepository, IPackageRepository sourceRepository, IPackageConstraintProvider constraintProvider, IPackagePathResolver pathResolver, IProjectSystem project ) : void
UpdatePackages ( IPackageRepository localRepository, IProjectManager projectManager ) : void
UpdatePackages ( string packagesConfigPath, IMSBuildProjectSystem project = null, string repositoryPath = null, IPackageRepository sourceRepository = null ) : void

Описание методов

ExecuteCommand() публичный Метод

public ExecuteCommand ( ) : void
Результат void

Move() защищенный Метод

protected Move ( string oldPath, string newPath ) : void
oldPath string
newPath string
Результат void

UpdateFile() защищенный Метод

protected UpdateFile ( string exePath, IPackageFile file ) : void
exePath string
file IPackageFile
Результат void