internal RarArchiveEntry(RarArchive archive, IEnumerable <RarFilePart> parts) { this.parts = parts.ToList(); Archive = archive; }
internal static IEnumerable<RarArchiveEntry> GetEntries(RarArchive archive, IEnumerable<RarArchiveVolume> rarParts) { foreach (IEnumerable<RarFilePart> groupedParts in GetMatchedFileParts(rarParts)) { yield return new RarArchiveEntry(archive, groupedParts); } }
internal RarArchiveEntry(RarArchive archive, IEnumerable<RarFilePart> parts) { this.parts = parts.ToList(); Archive = archive; }
/// <summary> /// RarArchive is the first volume of a multi-part archive. If MultipartVolume is true and IsFirstVolume is false then the first volume file must be missing. /// </summary> public static bool IsFirstVolume(this RarArchive archive) { return(archive.Volumes.First().IsFirstVolume); }