C# Class Bari.Plugins.VsCore.Commands.VisualStudioCommand

Implements the 'vs' command, which generates visual studio solution and project files for a given module or product, and launches Microsoft Visual Studio loading the generated solution.
Inheritance: ICommand, IHasBuildTarget
Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
Run ( Suite suite, string parameters ) : bool

Runs the command

VisualStudioCommand ( IBuildContextFactory buildContextFactory, [ targetDir, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory, IEnumerable projectBuilders ) : System

Initializes the command

Private Methods

Method Description
Run ( CommandTarget target, bool openSolution ) : void
Run ( IEnumerable projects, bool openSolution ) : void

Method Details

Run() public method

Runs the command
public Run ( Suite suite, string parameters ) : bool
suite Suite The current suite model the command is applied to
parameters string Parameters given to the command (in unprocessed form)
return bool

VisualStudioCommand() public method

Initializes the command
public VisualStudioCommand ( IBuildContextFactory buildContextFactory, [ targetDir, ICommandTargetParser targetParser, ICoreBuilderFactory coreBuilderFactory, IEnumerable projectBuilders ) : System
buildContextFactory IBuildContextFactory Interface to create new build contexts
targetDir [ Target root directory
targetParser ICommandTargetParser Parser used for parsing the target parameter
coreBuilderFactory ICoreBuilderFactory
projectBuilders IEnumerable
return System