1 write to _package
WindowsBase (1)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
240
_package
= package;
16 references to _package
WindowsBase (16)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (16)
117
Invariant.Assert(!
_package
.InStreamingCreation);
130
Invariant.Assert(!
_package
.InStreamingCreation);
145
Invariant.Assert(!
_package
.InStreamingCreation);
161
if (
_package
.InStreamingCreation)
170
if (
_package
.PartExists(_uri))
172
_package
.DeletePart(_uri);
195
Debug.Assert(
_package
.InStreamingCreation, "This method should only be called in streaming creation mode");
286
Debug.Assert(
_package
.FileOpenAccess == FileAccess.Read ||
_package
.FileOpenAccess == FileAccess.ReadWrite,
499
PackageRelationship relationship = new PackageRelationship(
_package
, _sourcePart, targetUri, targetMode, relationshipType, id);
603
if (!
_package
.InStreamingCreation &&
_package
.PartExists(_uri))
605
_relationshipPart =
_package
.GetPart(_uri);
611
_relationshipPart =
_package
.CreatePart(_uri, PackagingUtilities.RelationshipPartContentType.ToString(), compressionOption);
681
} while (!
_package
.InStreamingCreation && GetRelationship(id) != null);
726
Debug.Assert(
_package
.InStreamingCreation, "This method should only be called in streaming creation mode");