| 123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.IO.Abstractions;
- using BO.ProcessServer.Business.StatisticCounters;
- using BO.ProcessServer.Options;
- using Connector.PS;
- namespace BO.ProcessServer.Business.Workers.Contexts
- {
- internal class PullCtx : BaseCtx
- {
- public IConnectionPS Connection { get; set; }
- public IFileSystem FileSystem { get; set; }
- public IList<DocumentContent> Documents { get; }
- public PullCtx(IConnectionPS connection, IFileSystem fileSystem, Configuration configuration, Statistics statistics, Pool pool) : base(configuration, statistics, pool)
- {
- Connection = connection ?? throw new ArgumentNullException(nameof(connection));
- FileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
- Documents = new List<DocumentContent>();
- }
- }
- }
|