C# Class NugetCracker.Commands.BumpVersionCommand

Inheritance: ICommand
显示文件 Open project: monoman/NugetCracker

Public Methods

Method Description
Matches ( string commandPattern ) : bool
Process ( ILogger logger, IEnumerable args, MetaProjectPersistence metaProject, ComponentsList components, string packagesOutputDirectory ) : bool

Private Methods

Method Description
BumpUp ( ILogger logger, IVersionable component, VersionPart partToBump ) : bool
BumpVersion ( ILogger logger, IVersionable component, VersionPart partToBump, string packagesOutputDirectory, bool noBuild ) : bool
ParsePartToBump ( ILogger logger, IEnumerable args ) : VersionPart
TranslateToVersionPart ( string part ) : VersionPart

Method Details

Matches() public method

public Matches ( string commandPattern ) : bool
commandPattern string
return bool

Process() public method

public Process ( ILogger logger, IEnumerable args, MetaProjectPersistence metaProject, ComponentsList components, string packagesOutputDirectory ) : bool
logger ILogger
args IEnumerable
metaProject MetaProjectPersistence
components ComponentsList
packagesOutputDirectory string
return bool