4 types derived from Package
PresentationCore (1)
MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
36internal class SiteOfOriginContainer : System.IO.Packaging.Package
PresentationFramework (1)
MS\Internal\AppModel\ResourceContainer.cs (1)
39internal class ResourceContainer : System.IO.Packaging.Package
PresentationUI (1)
MS\Internal\Documents\Application\TransactionalPackage.cs (1)
46internal class TransactionalPackage : Package, IDisposable
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
18public sealed class ZipPackage : Package
136 references to Package
BuildBoss (6)
CompilerNuGetCheckerUtil.cs (6)
233using var package = Package.Open(packageFilePath, FileMode.Open, FileAccess.Read); 306private static List<PackagePartData> GetPackagePartDataList(Package package) 340private static IEnumerable<PackagePart> GetPartsInFolder(Package package, string folderRelativePath) 377using var package = Package.Open(packageFilePath, FileMode.Open, FileAccess.Read);
Microsoft.DotNet.Build.Tasks.VisualStudio (4)
Vsix\FinalizeInsertionVsixFile.cs (4)
39using (var package = Package.Open(VsixFilePath)) 45private byte[] UpdateExtensionVsixManifest(Package package) 108private static void UpdatePartHashInManifestJson(Package package, string partName, byte[] partHash)
Microsoft.DotNet.NuGetRepack.Tasks (7)
src\NuGetVersionUpdater.cs (5)
25public Package Package { get; } 36Package package, 106Package package; 112package = Package.Open(packagePath, FileMode.Open, FileAccess.Read); 118package = Package.Open(tempPathOpt, FileMode.Open, FileAccess.ReadWrite);
src\ReplacePackageParts.cs (2)
128using (var package = Package.Open(tempPackagePath, FileMode.Open, FileAccess.ReadWrite))
Microsoft.DotNet.SignCheckLibrary (2)
Verification\VsixVerifier.cs (2)
128var vsixPackage = Package.Open(vsixStream);
PresentationCore (26)
MS\Internal\AppModel\SiteOfOriginPart.cs (1)
37internal SiteOfOriginPart(Package container, Uri uri) :
MS\Internal\IO\Packaging\PreloadedPackages.cs (8)
58internal static Package GetPackage(Uri uri) 71internal static Package GetPackage(Uri uri, out bool threadSafe) 77Package package = null; 102internal static void AddPackage(Uri uri, Package package) 116internal static void AddPackage(Uri uri, Package package, bool threadSafe) 182internal PackageThreadSafePair(Package package, bool threadSafe) 198internal Package Package 222private readonly Package _package;
MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
50internal PseudoWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry) 373private Package _cacheEntry; // cached package
MS\Internal\IO\Packaging\ResponseStream.cs (3)
48internal ResponseStream(Stream s, PackWebResponse response, Stream owningStream, System.IO.Packaging.Package container) 72private void Init(Stream s, PackWebResponse response, Stream owningStream, System.IO.Packaging.Package container) 279private System.IO.Packaging.Package _container; // container to release when we are closed
System\IO\Packaging\PackageStore.cs (4)
59public static Package GetPackage(Uri uri) 65Package package = null; 69package = (Package) _packages[uri]; 86public static void AddPackage(Uri uri, Package package)
System\IO\Packaging\PackWebRequest.cs (2)
70internal PackWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry, 574private Package _cacheEntry; // non-null if we found this in a cache
System\IO\Packaging\PackWebRequestFactory.cs (1)
89Package c = PreloadedPackages.GetPackage(packageUri, out cachedPackageIsThreadSafe);
System\IO\Packaging\PackWebResponse.cs (5)
128internal PackWebResponse(Uri uri, Uri innerUri, Uri partName, Package cacheEntry, 241Package c = Package.Open(_responseStream); 596internal CachedResponse(PackWebResponse parent, Package cacheEntry, bool cachedPackageIsThreadSafe) 751private Package _cacheEntry;
PresentationFramework (24)
MS\Internal\AppModel\ContentFilePart.cs (1)
37internal ContentFilePart(Package container, Uri uri) :
MS\Internal\AppModel\ResourcePart.cs (1)
44public ResourcePart(Package container, Uri uri, string name, ResourceManagerWrapper rmWrapper) :
MS\Internal\IO\Packaging\PackageFilter.cs (3)
23using Package = System.IO.Packaging.Package; 60internal PackageFilter(Package package) 669private Package _package;
MS\Internal\IO\Packaging\XpsFilter.cs (3)
424_package = Package.Open(_packageStream); 553_package = Package.Open(_packageStream); 691private Package _package;
System\Windows\Application.cs (2)
2119private static Package GetResourcePackage(Uri packageUri) 2121Package package = PreloadedPackages.GetPackage(packageUri);
System\Windows\Documents\FixedDocument.cs (1)
983Package package = PreloadedPackages.GetPackage(packageUri);
System\Windows\Documents\FixedSchema.cs (2)
277public virtual void ValidateRelationships(Package package, Uri packageUri, Uri partUri, ContentType mimeType) 577public override void ValidateRelationships(Package package, Uri packageUri, Uri partUri, ContentType mimeType)
System\Windows\Documents\WpfPayload.cs (9)
135private WpfPayload(Package package) 393public Package Package 718private Package CreatePackage(Stream stream) 722_package = Package.Open(stream, FileMode.Create, FileAccess.ReadWrite); 744Package package = Package.Open(stream, FileMode.Create, FileAccess.ReadWrite); 765Package package = Package.Open(stream, FileMode.Open, FileAccess.Read); 850private Package _package;
System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
27using Package = System.IO.Packaging.Package; 82Package package = PreloadedPackages.GetPackage(packageUri);
PresentationUI (15)
MS\Internal\Documents\Application\TransactionalPackage.cs (13)
69Package originalPackage = Package.Open(original); 93Package temporaryPackage = Package.Open( 112Package destination = Package.Open( 157Package newPackage = Package.Open(newOriginal, FileMode.Open, FileAccess.Read); 465protected Package TempPackage 587private Package _originalPackage; 591private Package _tempPackage; 593private List<Package> _trashCan = new List<Package>();
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
63Package container,
MS\Internal\Documents\DigitalSignatureProvider.cs (1)
36public DigitalSignatureProvider(Package package)
ReachFramework (24)
Packaging\XpsDocument.cs (9)
38using Package = System.IO.Packaging.Package; 62Package package 82Package package, 105Package package, 522Package metroPackage = CurrentXpsManager.MetroPackage; 886Package package = Package.Open(dataStream, 908Package 944private Package _opcPackage;
Packaging\XpsManager.cs (13)
37using Package = System.IO.Packaging.Package; 84Package metroPackage, 135Package package = PackageStore.GetPackage( _uri ); 146package = Package.Open(path, 154package = Package.Open(path, 276public Package MetroPackage 625Package package = _metroPackage; 984Package metroPackage, 1274AddPackageToCache(Uri uri, Package package ) 1295RemovePackageReference( Uri uri, Package package ) 1328private Package _metroPackage; 1418Package package 1462Package package,
SerializerFactory\XpsSerializerWriter.cs (2)
42_package = Package.Open(stream,FileMode.Create,FileAccess.ReadWrite); 499private Package _package;
System.IO.Packaging (27)
System\IO\Packaging\InternalRelationshipCollection.cs (3)
70internal InternalRelationshipCollection(Package package) : this(package, null) 174private InternalRelationshipCollection(Package package, PackagePart? part) 628private readonly Package _package; // our package - in case _sourcePart is null
System\IO\Packaging\Package.cs (9)
92public static Package Open(string path) 108public static Package Open(string path, FileMode packageMode) 125public static Package Open(string path, FileMode packageMode, FileAccess packageAccess) 145public static Package Open(Stream stream) 162public static Package Open(Stream stream, FileMode packageMode) 851public static Package Open( 884Package? package = null; 919public static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess) 926Package? package = null;
System\IO\Packaging\PackagePart.cs (8)
39protected PackagePart(Package package, Uri partUri) 67protected PackagePart(Package package, Uri partUri, string? contentType) 96protected PackagePart(Package package, 110Package.ThrowIfCompressionOptionInvalid(compressionOption); 205public Package Package 696Package.ThrowIfFileModeInvalid(mode); 697Package.ThrowIfFileAccessInvalid(access); 800private Package _container;
System\IO\Packaging\PackageRelationship.cs (3)
92public Package Package 113internal PackageRelationship(Package package, PackagePart? sourcePart, Uri targetUri, TargetMode targetMode, string relationshipType, string id) 184private readonly Package _package;
System\IO\Packaging\PackageRelationshipSelector.cs (1)
115public List<PackageRelationship> Select(Package package)
System\IO\Packaging\PartBasedPackageProperties.cs (2)
29internal PartBasedPackageProperties(Package package) 831private readonly Package _package;
System\IO\Packaging\ZipPackage.cs (1)
46Package.ThrowIfCompressionOptionInvalid(compressionOption);
WindowsBase (1)
WindowsBase.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Packaging.Package))]