Esempio n. 1
0
 public NuGetFileRestoreCommand(
     INuKeeperLogger logger,
     IExternalProcess externalProcess = null)
 {
     _logger          = logger;
     _externalProcess = externalProcess ?? new ExternalProcess();
 }
Esempio n. 2
0
 public DotNetUpdatePackageCommand(
     INuKeeperLogger logger,
     IExternalProcess externalProcess = null)
 {
     _logger          = logger;
     _externalProcess = externalProcess ?? new ExternalProcess(logger);
 }
Esempio n. 3
0
 public VersionCheckCommand(IVersionCheck versionCheck, IMessageBox prompt, IExternalProcess process, IConfigurationService <Configuration> config)
 {
     _versionCheck = versionCheck;
     _prompt       = prompt;
     _process      = process;
     _config       = config;
 }
Esempio n. 4
0
 public VersionCheckCommand(IVersionCheck versionCheck, IMessageBox prompt, IExternalProcess process)
     : base(LogManager.GetCurrentClassLogger())
 {
     _versionCheck = versionCheck;
     _prompt       = prompt;
     _process      = process;
 }
 public DotNetUpdatePackageCommand(
     UserSettings settings,
     IExternalProcess externalProcess = null)
 {
     _sources         = settings.NuGetSources;
     _externalProcess = externalProcess ?? new ExternalProcess();
 }
 public NuGetFileRestoreCommand(
     INuKeeperLogger logger,
     INuGetPath nuGetPath,
     IExternalProcess externalProcess)
 {
     _logger          = logger;
     _nuGetPath       = nuGetPath;
     _externalProcess = externalProcess;
 }
 public NuGetUpdatePackageCommand(
     INuKeeperLogger logger,
     INuGetPath nuGetPath,
     IExternalProcess externalProcess)
 {
     _logger          = logger;
     _nuGetPath       = nuGetPath;
     _externalProcess = externalProcess;
 }
 public NuGetUpdatePackageCommand(
     INuKeeperLogger logger,
     UserSettings settings,
     IExternalProcess externalProcess = null)
 {
     _logger          = logger;
     _sources         = settings.NuGetSources;
     _externalProcess = externalProcess ?? new ExternalProcess();
 }
Esempio n. 9
0
 public MSpecTestRunner(IAssemblyPropertyReader referenceResolver,
                        IConfiguration configuration,
                        IFileSystemService fileSystem,
                        IExternalProcess externalProcess,
                        IMSpecCommandLineBuilder commandLineBuilder)
 {
     _assemblyReader     = referenceResolver;
     _configuration      = configuration;
     _fileSystem         = fileSystem;
     _externalProcess    = externalProcess;
     _commandLineBuilder = commandLineBuilder;
 }
Esempio n. 10
0
 public DotNetUpdatePackageCommand(IExternalProcess externalProcess)
 {
     _externalProcess = externalProcess;
 }
 public void SetExternalProcess(IExternalProcess externalProcess)
 {
     externalProcess.ProcessOut += OnProcessOut;
     ExternalProcess             = externalProcess;
 }
 /// <summary>
 /// Instantiates a Hg script repository for the given database at the specified directory location.
 /// </summary>
 /// <param name="scriptDirectory">The directory where build scripts are located.</param>
 /// <param name="serverName">The name of the database server.</param>
 /// <param name="databaseName">The name of the database.</param>
 /// <param name="hgExecutable">The Hg executable for interfacing with the dvcs repository.</param>
 /// <param name="fileSystem">An object that provides access to the file system.</param>
 /// <param name="sqlParser">The sql script parser for reading the SQL file contents.</param>
 /// <param name="logger">A Logger</param>
 /// <param name="ignoreUnsupportedSubdirectories">A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.</param>
 public HgScriptRepository(DirectoryInfoBase scriptDirectory, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser,  ILogger logger, bool ignoreUnsupportedSubdirectories)
     : base(scriptDirectory, serverName, databaseName, fileSystem, sqlParser, logger, ignoreUnsupportedSubdirectories)
 {
     HgExecutable = hgExecutable;
 }
 /// <summary>
 /// Instantiates a Git script repository for the given database at the specified directory location.
 /// </summary>
 /// <param name="scriptDirectoryPath">The path to the directory where build scripts are located.</param>
 /// <param name="serverName">The name of the database server.</param>
 /// <param name="databaseName">The name of the database.</param>
 /// <param name="gitExecutable">The Git executable for interfacing with the dvcs repository.</param>
 /// <param name="fileSystem">An object that provides access to the file system.</param>
 /// <param name="sqlParser">The sql script parser for reading the SQL file contents.</param>
 /// <param name="logger">A Logger</param>
 /// <param name="ignoreUnsupportedSubdirectories">A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.</param>
 public GitScriptRepository(string scriptDirectoryPath, string serverName, string databaseName, IExternalProcess gitExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories)
     : base(scriptDirectoryPath, serverName, databaseName, fileSystem, sqlParser, logger, ignoreUnsupportedSubdirectories)
 {
     GitExecutable = gitExecutable;
 }
 /// <summary>
 /// Instantiates a Hg script repository for the given database at the specified directory location.
 /// </summary>
 /// <param name="scriptDirectory">The directory where build scripts are located.</param>
 /// <param name="serverName">The name of the database server.</param>
 /// <param name="databaseName">The name of the database.</param>
 /// <param name="hgExecutable">The Hg executable for interfacing with the dvcs repository.</param>
 /// <param name="fileSystem">An object that provides access to the file system.</param>
 /// <param name="sqlParser">The sql script parser for reading the SQL file contents.</param>
 /// <param name="logger">A Logger</param>
 /// <param name="ignoreUnsupportedSubdirectories">A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.</param>
 public HgScriptRepository(DirectoryInfoBase scriptDirectory, string serverName, string databaseName, IExternalProcess hgExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories)
     : base(scriptDirectory, serverName, databaseName, fileSystem, sqlParser, logger, ignoreUnsupportedSubdirectories)
 {
     HgExecutable = hgExecutable;
 }
Esempio n. 15
0
 /// <summary>
 /// Instantiates a Git script repository for the given database at the specified directory location.
 /// </summary>
 /// <param name="scriptDirectoryPath">The path to the directory where build scripts are located.</param>
 /// <param name="serverName">The name of the database server.</param>
 /// <param name="databaseName">The name of the database.</param>
 /// <param name="gitExecutable">The Git executable for interfacing with the dvcs repository.</param>
 /// <param name="fileSystem">An object that provides access to the file system.</param>
 /// <param name="sqlParser">The sql script parser for reading the SQL file contents.</param>
 /// <param name="logger">A Logger</param>
 /// <param name="ignoreUnsupportedSubdirectories">A flag indicating whether to ignore subdirectories that don't conform to the expected naming convention.</param>
 public GitScriptRepository(string scriptDirectoryPath, string serverName, string databaseName, IExternalProcess gitExecutable, IFileSystem fileSystem, IParser sqlParser, ILogger logger, bool ignoreUnsupportedSubdirectories)
     : base(scriptDirectoryPath, serverName, databaseName, fileSystem, sqlParser, logger, ignoreUnsupportedSubdirectories)
 {
     GitExecutable = gitExecutable;
 }
 public MonoExecutor(INuKeeperLogger logger, IExternalProcess externalProcess)
 {
     _logger          = logger;
     _externalProcess = externalProcess;
     _checkMono       = new AsyncLazy <bool>(CheckMonoExists);
 }