internal static IEnumerable<RarVolume> GetParts(IEnumerable<Stream> streams, string password, Options options) { foreach (Stream iteratorVariable0 in streams) { if (!(iteratorVariable0.CanRead && iteratorVariable0.CanSeek)) { throw new ArgumentException("Stream is not readable and seekable"); } StreamRarArchiveVolume iteratorVariable1 = new StreamRarArchiveVolume(iteratorVariable0, password, options); yield return iteratorVariable1; } }
internal static IEnumerable<RarVolume> GetParts(IEnumerable<Stream> streams, Options options) { foreach (Stream s in streams) { if (!s.CanRead || !s.CanSeek) { throw new ArgumentException("Stream is not readable and seekable"); } StreamRarArchiveVolume part = new StreamRarArchiveVolume(s, options); yield return part; } }
internal static IEnumerable <RarVolume> GetParts(IEnumerable <Stream> streams, string password, Options options) { foreach (Stream s in streams) { if (!s.CanRead || !s.CanSeek) { throw new ArgumentException("Stream is not readable and seekable"); } StreamRarArchiveVolume part = new StreamRarArchiveVolume(s, password, options); yield return(part); } }
internal static IEnumerable <RarVolume> GetParts(IEnumerable <Stream> streams, string password, Options options) { foreach (Stream iteratorVariable0 in streams) { if (!(iteratorVariable0.CanRead && iteratorVariable0.CanSeek)) { throw new ArgumentException("Stream is not readable and seekable"); } StreamRarArchiveVolume iteratorVariable1 = new StreamRarArchiveVolume(iteratorVariable0, password, options); yield return(iteratorVariable1); } }