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