2 writes to _partList
WindowsBase (2)
Base\System\IO\Packaging\Package.cs (2)
74
_partList
= new SortedList<PackUriHelper.ValidatedPartUri, PackagePart>(); // initial default is zero
850
_partList
= null;
25 references to _partList
WindowsBase (25)
Base\System\IO\Packaging\Package.cs (25)
323
if (
_partList
.ContainsKey(validatedPartUri))
336
_partList
[validatedPartUri] = addedPart;
407
if (
_partList
.ContainsKey(validatedPartUri))
412
validatedPartUri = (PackUriHelper.ValidatedPartUri)
_partList
[validatedPartUri].Uri;
413
_partList
[validatedPartUri].IsDeleted = true;
414
_partList
[validatedPartUri].Close();
429
_partList
.Remove(validatedPartUri);
513
if (!
_partList
.ContainsKey(partUri))
520
_partCollection = new PackagePartCollection(
_partList
);
838
if (
_partList
!= null)
840
_partList
.Clear();
1159
_partList
.Add(partUri, part);
1162
int index =
_partList
.IndexOfKey(partUri);
1172
precedingPartName =
_partList
.Keys[index - 1].NormalizedPartUriString;
1175
if (index <
_partList
.Count - 1)
1177
followingPartName =
_partList
.Keys[index + 1].NormalizedPartUriString;
1190
_partList
.Remove(partUri);
1295
if (
_partList
.Count > 0)
1298
PackUriHelper.ValidatedPartUri[] partKeys = new PackUriHelper.ValidatedPartUri[
_partList
.Keys.Count];
1300
foreach (PackUriHelper.ValidatedPartUri uri in
_partList
.Keys)
1309
for (int i = 0; i <
_partList
.Keys.Count; i++)
1317
if (
_partList
.TryGetValue(partKeys[i], out p))
1344
if (
_partList
.TryGetValue(owningPartUri, out sourcePart))
1386
if (
_partList
.ContainsKey(validatePartUri))
1387
return
_partList
[validatePartUri];