public FileAbstractLayerBuilder ReadWithFolderRedirection(FolderRedirectionManager frm) { if (frm == null) { throw new ArgumentNullException(nameof(frm)); } return(new FileAbstractLayerBuilder(new FileReaderWithFolderRedirection(_reader, frm), _writer)); }
public FileReaderWithFolderRedirection(IFileReader reader, FolderRedirectionManager fdm) { _inner = reader ?? throw new ArgumentNullException(nameof(reader)); _folderRedirectionManager = fdm ?? throw new ArgumentException(nameof(fdm)); }