2 instantiations of ZipPackagePartPiece
System.IO.Packaging (2)
System\IO\Packaging\ZipPackagePartPiece.cs (2)
40
partPiece = new
ZipPackagePartPiece
(zipArchiveEntry, partUri!, prefixName!, pieceNumber, isLastPiece);
153
return new
ZipPackagePartPiece
(newPieceEntry, partUri, prefixName, pieceNumber, isLastPiece);
33 references to ZipPackagePartPiece
System.IO.Packaging (33)
System\IO\Packaging\InterleavedZipPackagePartStream.cs (1)
61
internal InterleavedZipPackagePartStream(ZipStreamManager zipStreamManager, List<
ZipPackagePartPiece
> sortedPieceInfoList, FileAccess access)
System\IO\Packaging\InterleavedZipPackagePartStream.PieceDirectory.cs (4)
48
private readonly List<
ZipPackagePartPiece
> _sortedPieceInfoList;
111
internal PieceDirectory(List<
ZipPackagePartPiece
> sortedPieceInfoList, ZipStreamManager zipStreamManager, FileAccess access)
429
ZipPackagePartPiece
newLastPieceDescriptor =
ZipPackagePartPiece
.Create(_zipArchive, _sortedPieceInfoList[0].PartUri,
System\IO\Packaging\PackUriHelper.cs (1)
455
if (
ZipPackagePartPiece
.TryParseName(partName, out _, out _, out _, out _))
System\IO\Packaging\ZipPackage.cs (19)
177
SortedSet<
ZipPackagePartPiece
> pieceSet = new SortedSet<
ZipPackagePartPiece
>();
196
if (
ZipPackagePartPiece
.TryParse(zipArchiveEntry, out
ZipPackagePartPiece
? partPiece))
538
private static void DeleteInterleavedPartOrStream(List<
ZipPackagePartPiece
> sortedPieceInfoList)
543
foreach (
ZipPackagePartPiece
pieceInfo in sortedPieceInfoList)
564
private void ProcessPieces(SortedSet<
ZipPackagePartPiece
> pieceSet, List<PackagePart> parts)
580
List<
ZipPackagePartPiece
> pieces = new List<
ZipPackagePartPiece
>(pieceSet);
679
List<
ZipPackagePartPiece
> pieces,
1048
SortedDictionary<
ZipPackagePartPiece
, ZipArchiveEntry>? contentTypeStreamPieces = null;
1060
else if (
ZipPackagePartPiece
.TryParse(zipFileInfo, out
ZipPackagePartPiece
? pieceInfo))
1063
contentTypeStreamPieces ??= new SortedDictionary<
ZipPackagePartPiece
, ZipArchiveEntry>();
1071
List<
ZipPackagePartPiece
>? partPieces = null;
1078
partPieces = new List<
ZipPackagePartPiece
>(contentTypeStreamPieces.Keys);
1301
private List<
ZipPackagePartPiece
>? _contentTypeStreamPieces;
1392
internal void AddItemForStrayPiece(
ZipPackagePartPiece
pieceInfo)
1406
internal void AddItemsForInvalidSequence(string normalizedPrefixNameForThisSequence, List<
ZipPackagePartPiece
> pieces, int startIndex, int count)
System\IO\Packaging\ZipPackagePart.cs (3)
83
List<
ZipPackagePartPiece
> pieces,
102
internal List<
ZipPackagePartPiece
> PieceDescriptors => _pieces;
117
private readonly List<
ZipPackagePartPiece
> _pieces;
System\IO\Packaging\ZipPackagePartPiece.cs (5)
12
internal sealed class ZipPackagePartPiece : IComparable<
ZipPackagePartPiece
>
25
internal static bool TryParse(ZipArchiveEntry zipArchiveEntry, [NotNullWhen(true)] out
ZipPackagePartPiece
? partPiece)
148
internal static
ZipPackagePartPiece
Create(ZipArchive zipArchive, PackUriHelper.ValidatedPartUri? partUri, string prefixName, int pieceNumber, bool isLastPiece)
192
int IComparable<
ZipPackagePartPiece
>.CompareTo(
ZipPackagePartPiece
? other)