Ejemplo n.º 1
0
 public TUIRoutine(ILogger <TUIRoutine> log, IConfiguration config, IDataSetNameValidator dataSetNameValidator, IConfigurationState configurationState,
                   IDirectoryValidator directoryValidator, IFileValidator fileValidator, IRuleChecker ruleChecker, /*IFileLineCounter fileLineCounter,*/ IJobState jobState,
                   ILineProducerConsumerOrechestrator lineProducerConsumerOrechestrator, /*IOutputDatasetFactory outputDatasetFactory,*/ IInputDatasetFactory inputDatasetFactory)
 {
     _log    = log;
     _config = config;
     _dataSetNameValidator = dataSetNameValidator;
     _configurationState   = configurationState;
     _directoryValidator   = directoryValidator;
     _fileValidator        = fileValidator;
     _ruleChecker          = ruleChecker;
     //_fileLineCounter = fileLineCounter;
     _jobState = jobState;
     _lineProducerConsumerOrechestrator = lineProducerConsumerOrechestrator;
     //_outputDatasetFactory = outputDatasetFactory;
     _inputDatasetFactory = inputDatasetFactory;
 }
Ejemplo n.º 2
0
 public CardHandler(IRuleChecker ruleChecker)
 {
     _ruleChecker = ruleChecker;
 }
Ejemplo n.º 3
0
 public CardHandlerTest()
 {
     _mockedRuleChecker = Substitute.For <IRuleChecker>();
 }
Ejemplo n.º 4
0
 public RuleVisualizer(IRuleChecker ruleChecker, IConsoleWriter consoleWriter)
 {
     _ruleChecker   = ruleChecker;
     _consoleWriter = consoleWriter;
 }