2 writes to _package
PresentationFramework (2)
System\Windows\Documents\WpfPayload.cs (2)
138
_package
= package;
722
_package
= Package.Open(stream, FileMode.Create, FileAccess.ReadWrite);
10 references to _package
PresentationFramework (10)
System\Windows\Documents\WpfPayload.cs (10)
397
return
_package
;
463
PackagePart imagePart =
_package
.CreatePart(imagePartUri, imageContentType, CompressionOption.NotCompressed);
691
PackagePart imagePart =
_package
.CreatePart(imagePartUri, contentType, CompressionOption.NotCompressed);
708
PackagePart imagePart =
_package
.GetPart(imagePartUri);
720
Invariant.Assert(
_package
== null, "Package has been already created or open for this WpfPayload");
724
return
_package
;
775
PackagePart part =
_package
.CreatePart(entryPartUri, XamlContentType, CompressionOption.Normal);
788
PackageRelationship entryRelationship =
_package
.CreateRelationship(entryPartUri, TargetMode.Internal, XamlRelationshipFromPackageToEntryPart);
806
PackageRelationshipCollection entryPartRelationships =
_package
.GetRelationshipsByType(XamlRelationshipFromPackageToEntryPart);
821
wpfEntryPart =
_package
.GetPart(entryPartUri);