internal static IEnumerable <Rar5ArchiveEntry> GetEntries(Rar5Archive archive, IEnumerable <RarVolume> rarParts) { foreach (var groupedParts in GetMatchedFileParts(rarParts)) { yield return(new Rar5ArchiveEntry(archive, groupedParts)); } }
internal Rar5ArchiveEntry(Rar5Archive archive, IEnumerable <RarFilePart> parts) { this.parts = parts.ToList(); this.archive = archive; }