C# Class Bari.Core.Process.MainProcess

This class controls the main process which bari can perform

It is responsible to load a suite model and perform a command with all the necessary setup.

Datei anzeigen Open project: vigoo/bari

Public Methods

Method Description
MainProcess ( IUserOutput output, IParameters parameters, ISuiteLoader loader, ICommandFactory commandFactory, Bari.Core.Model.Discovery.ExplorerRunner explorer, IBindingRoot binding, IBuilderStore builderStore ) : System.Diagnostics.Contracts

Initializes the main bari process

Run ( ) : bool

Runs the main bari process

Method Details

MainProcess() public method

Initializes the main bari process
public MainProcess ( IUserOutput output, IParameters parameters, ISuiteLoader loader, ICommandFactory commandFactory, Bari.Core.Model.Discovery.ExplorerRunner explorer, IBindingRoot binding, IBuilderStore builderStore ) : System.Diagnostics.Contracts
output IUserOutput User output interface to write messages to
parameters IParameters User defined parameters describing the process to be performed
loader ISuiteLoader The suite model loader implementation to be used
commandFactory ICommandFactory Factory for command objects
explorer Bari.Core.Model.Discovery.ExplorerRunner Suite explorer runner
binding IBindingRoot Interface to bind new dependencies
builderStore IBuilderStore Builder store, only for debug dump
return System.Diagnostics.Contracts

Run() public method

Runs the main bari process
public Run ( ) : bool
return bool