Esempio n. 1
0
 public LinkingFileOperation(IJobNameMatcher matcher, IEventDispatcher eventDispatcher, ILogger <LinkingFileOperation> logger, IUnitOfWork repository)
 {
     _matcher    = matcher;
     _filesHub   = eventDispatcher.GetToken <IFilesHub>().EventElement;
     _logger     = logger;
     _unitOfWork = repository;
 }
Esempio n. 2
0
 public MultifileOperation(IEventDispatcher eventDispatcher, IUnitOfWork repository, IJobNameMatcher jobNameMatcher, ILogger <MultifileOperation> logger)
 {
     _filesHub       = eventDispatcher.GetToken <IFilesHub>().EventElement;
     _unitOfWork     = repository;
     _jobNameMatcher = jobNameMatcher;
     _logger         = logger;
 }