3 writes to _metroPackage
ReachFramework (3)
Packaging\XpsManager.cs (3)
50
_metroPackage
= null;
902
_metroPackage
= null;
979
_metroPackage
= metroPackage;
34 references to _metroPackage
ReachFramework (34)
Packaging\XpsManager.cs (34)
190
if (null !=
_metroPackage
)
192
part = GetXpsDocumentStartingPart(
_metroPackage
);
199
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
200
if ( !Streaming && null != GetXpsDocumentStartingPart(
_metroPackage
))
205
SetXpsDocumentStartingPart(
_metroPackage
, value);
236
if (null ==
_metroPackage
)
241
return
_metroPackage
.FileOpenAccess != System.IO.FileAccess.Read;
253
if (null ==
_metroPackage
)
258
return
_metroPackage
.FileOpenAccess != System.IO.FileAccess.Write;
267
return
_metroPackage
;
293
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
315
PackagePart metroPart =
_metroPackage
.CreatePart(partUri,
343
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
389
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
401
PackagePart metroPart =
_metroPackage
.CreatePart(partUri,
460
if (
_metroPackage
.FileOpenAccess == FileAccess.Write)
532
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
539
if (!
_metroPackage
.PartExists(uri))
544
PackagePart part =
_metroPackage
.GetPart(uri);
575
PackagePart documentPart =
_metroPackage
.GetPart( documentUri );
599
sigDefPart =
_metroPackage
.GetPart(PackUriHelper.ResolvePartUri(SigDefRel.SourceUri, SigDefRel.TargetUri));
612
Package package =
_metroPackage
;
644
thumbnailCollection =
_metroPackage
.
658
thumbNailPart =
_metroPackage
.GetPart(PackUriHelper.ResolvePartUri(thumbNailRel.SourceUri, thumbNailRel.TargetUri));
667
PackagePart documentPart =
_metroPackage
.GetPart( documentUri );
692
printTicketPart =
_metroPackage
.GetPart(printTicketUri);
709
_metroPackage
.CreateRelationship(propertiesPart.Uri, TargetMode.Internal, XpsS0Markup.CorePropertiesRelationshipType );
786
PackageDigitalSignatureManager digSigMgr = new PackageDigitalSignatureManager(
_metroPackage
);
854
ObjectDisposedException.ThrowIf(
_metroPackage
is null, typeof(XpsManager));
856
PackageDigitalSignatureManager dsm = new PackageDigitalSignatureManager(
_metroPackage
);
885
if (null ==
_metroPackage
)
893
_metroPackage
.Flush();
898
RemovePackageReference(_uri,
_metroPackage
);
1247
foreach (PackageRelationship rel in
_metroPackage
.GetRelationshipsByType(XpsS0Markup.CorePropertiesRelationshipType))