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