public LoggingSrtFileWriter(ISrtFileWriter srtFileWriter, ILogger logger) { _srtFileWriter = srtFileWriter ?? throw new ArgumentNullException(nameof(srtFileWriter)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public SrtWriter(ISrtLineWriter srtLineWriter, ISrtFileWriter srtFileWriter) { _srtLineWriter = srtLineWriter ?? throw new ArgumentNullException(nameof(srtLineWriter)); _srtFileWriter = srtFileWriter ?? throw new ArgumentNullException(nameof(srtFileWriter)); }