public GlasswallFileProcessor(IGlasswallVersionService glasswallVersionService, IFileTypeDetector fileTypeDetector, IFileProtector fileProtector, IFileProcessorConfig config) { _glasswallVersionService = glasswallVersionService ?? throw new ArgumentNullException(nameof(glasswallVersionService)); _fileTypeDetector = fileTypeDetector ?? throw new ArgumentNullException(nameof(fileTypeDetector)); _fileProtector = fileProtector ?? throw new ArgumentNullException(nameof(fileProtector)); _config = config ?? throw new ArgumentNullException(nameof(config)); }
public FileTypeDetectionController( IGlasswallVersionService glasswallVersionService, IFileTypeDetector fileTypeDetector, IMetricService metricService, ILogger <FileTypeDetectionController> logger) : base(logger, metricService) { _glasswallVersionService = glasswallVersionService ?? throw new ArgumentNullException(nameof(glasswallVersionService)); _fileTypeDetector = fileTypeDetector ?? throw new ArgumentNullException(nameof(fileTypeDetector)); }
public EmailMessageService(IConfigurationMessageService configurationService, IMessaggisticaService messaggisticaService, IDocumentService documentService, IMailService mailService, IFileTypeDetector fileTypeDetector, IDaoFactory daoFactory) { _documentService = documentService; _configurationService = configurationService; _messaggisticaService = messaggisticaService; _mailService = mailService; _fileTypeDetector = fileTypeDetector; _daoFactory = daoFactory; }
public PdfConverter(IFileTypeDetector fileTypeDetector) { _fileTypeDetector = fileTypeDetector; }