Moved ExtractTo to common logic

This commit is contained in:
Adam Hathcock
2013-12-23 11:42:08 +00:00
parent afd65a7505
commit 4eda2043df
16 changed files with 83 additions and 118 deletions

View File

@@ -15,12 +15,12 @@ namespace SharpCompress.Compressor.Rar
private IEnumerator<RarFilePart> filePartEnumerator;
private Stream currentStream;
private readonly IStreamListener streamListener;
private readonly IExtractionListener streamListener;
private long currentPartTotalReadBytes;
private long currentEntryTotalReadBytes;
internal MultiVolumeReadOnlyStream(IEnumerable<RarFilePart> parts, IStreamListener streamListener)
internal MultiVolumeReadOnlyStream(IEnumerable<RarFilePart> parts, IExtractionListener streamListener)
{
this.streamListener = streamListener;