Esempio 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;
 }
Esempio n. 2
0
 public CardHandler(IRuleChecker ruleChecker)
 {
     _ruleChecker = ruleChecker;
 }
Esempio n. 3
0
 public CardHandlerTest()
 {
     _mockedRuleChecker = Substitute.For <IRuleChecker>();
 }
Esempio n. 4
0
 public RuleVisualizer(IRuleChecker ruleChecker, IConsoleWriter consoleWriter)
 {
     _ruleChecker   = ruleChecker;
     _consoleWriter = consoleWriter;
 }