public OracleMigrator( IConnectionFactory connectionFactory, IVersionRespositoryFactory versionRespositoryFactory, IAppliedScriptsRepositoryFactory appliedScriptsRepositoryFactory, IDatabaseMetadataProviderFactory databaseMetadataProviderFactory, IScriptScannerFactory scriptScannerFactory, IScriptRunnerFactory scriptRunnerFactory) { _connectionFactory = connectionFactory; _versionRespositoryFactory = versionRespositoryFactory; _databaseMetadataProviderFactory = databaseMetadataProviderFactory; _scriptScannerFactory = scriptScannerFactory; _scriptRunnerFactory = scriptRunnerFactory; _appliedScriptsRepositoryFactory = appliedScriptsRepositoryFactory; }
public ScriptHubModel(IScriptStore settings, ILogger logger, IScriptRunnerFactory scriptRunner) { if (settings == null) { throw new ArgumentNullException("settings"); } _scriptStore = settings; _errors = new List <string>(); _logger = logger; _scriptRunnerFactory = scriptRunner; }
public TemplateTransformer(IScriptRunnerFactory scriptRunnerFactory, ILogger <TemplateTransformer> logger) { _scriptRunnerFactory = scriptRunnerFactory; _logger = logger; }
public void TestInitialize() { _config = new ConfigFile <Runners>(_runnersConfigFilePath); _factory = new ScriptRunnerFactory(_config); }