3 writes to _partList
System.IO.Packaging (3)
System\IO\Packaging\Package.cs (3)
36
_partList
= new SortedList<PackUriHelper.ValidatedPartUri, PackagePart>(); // initial default is zero
780
_partList
= null!;
1214
_partList
= new SortedList<PackUriHelper.ValidatedPartUri, PackagePart>(partDictionary.Count);
22 references to _partList
System.IO.Packaging (22)
System\IO\Packaging\Package.cs (22)
227
if (
_partList
.ContainsKey(validatedPartUri))
240
_partList
[validatedPartUri] = addedPart;
291
return
_partList
.ContainsKey(validatePartUri);
317
if (
_partList
.TryGetValue(validatedPartUri, out PackagePart? value))
323
_partList
[validatedPartUri].IsDeleted = true;
324
_partList
[validatedPartUri].Close();
339
_partList
.Remove(validatedPartUri);
463
_partCollection = new PackagePartCollection(
_partList
);
771
_partList
?.Clear();
982
_partList
.Add(partUri, part!);
985
int index =
_partList
.IndexOfKey(partUri);
995
precedingPartName =
_partList
.Keys[index - 1].NormalizedPartUriString;
998
if (index <
_partList
.Count - 1)
1000
followingPartName =
_partList
.Keys[index + 1].NormalizedPartUriString;
1013
_partList
.Remove(partUri);
1061
if (
_partList
.Count > 0)
1064
PackUriHelper.ValidatedPartUri[] partKeys = new PackUriHelper.ValidatedPartUri[
_partList
.Keys.Count];
1066
foreach (PackUriHelper.ValidatedPartUri uri in
_partList
.Keys)
1082
if (
_partList
.TryGetValue(partKeys[i], out PackagePart? p))
1108
if (
_partList
.TryGetValue(owningPartUri, out PackagePart? sourcePart))
1150
if (
_partList
.TryGetValue(validatePartUri, out PackagePart? value))
1222
_partList
.Add(keyValue.Key, keyValue.Value);