C# Class NuGet.Commands.UpdateCommand

Inheritance: Command, ILogger
ファイルを表示 Open project: themotleyfool/NuGet Class Usage Examples

Private Properties

Property Type Description
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

Public Methods

Method Description
ExecuteCommand ( ) : void

Protected Methods

Method Description
Move ( string oldPath, string newPath ) : void
UpdateFile ( string exePath, IPackageFile file ) : void

Private Methods

Method Description
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

Method Details

ExecuteCommand() public method

public ExecuteCommand ( ) : void
return void

Move() protected method

protected Move ( string oldPath, string newPath ) : void
oldPath string
newPath string
return void

UpdateFile() protected method

protected UpdateFile ( string exePath, IPackageFile file ) : void
exePath string
file IPackageFile
return void