예제 #1
0
 public DataCollector(
     IDestinationProvider destinationProvider,
     IDataPreparer DataPreparer,
     ICollectItemsProvider collectItemsProvider,
     IFileNameProvider fileNameProvider,
     IDelay delay,
     ICollectItemsCollector collectItemsCollector)
 {
     _destinationProvider  = destinationProvider;
     _dataPreparer         = DataPreparer;
     _collectItemsProvider = collectItemsProvider;
     _fileNameProvider     = fileNameProvider;
     _delay = delay;
     _collectItemsCollector = collectItemsCollector;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PipelineProcessor{T}"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <param name="dataPreparer">The data preparer.</param>
 public PipelineProcessor(IPipeline <T> pipeline, IDataPreparer <T> dataPreparer)
 {
     _pipeline     = pipeline;
     _dataPreparer = dataPreparer;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ValidationPipelineProcessor{T, TResult}"/> class.
 /// </summary>
 /// <param name="pipeline">The pipeline.</param>
 /// <param name="dataPreparer">The data preparer.</param>
 public ValidationPipelineProcessor(IValidationPipeline <T, TResult> pipeline, IDataPreparer <T> dataPreparer)
 {
     _pipeline     = pipeline;
     _dataPreparer = dataPreparer;
 }
예제 #4
0
 public DataPreparer(ILogger <DataPreparer> logger, IDataPreparer dataPreparer)
 {
     _logger       = logger;
     _dataPreparer = dataPreparer;
 }