3 types derived from Package
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
43internal class SiteOfOriginContainer : System.IO.Packaging.Package
PresentationFramework (1)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
47internal class ResourceContainer : System.IO.Packaging.Package
WindowsBase (1)
Base\System\IO\Packaging\ZipPackage.cs (1)
36public sealed class ZipPackage : Package
91 references to Package
PresentationCore (28)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
42internal SiteOfOriginPart(Package container, Uri uri) :
Core\CSharp\MS\Internal\IO\Packaging\PreloadedPackages.cs (8)
74internal static Package GetPackage(Uri uri) 87internal static Package GetPackage(Uri uri, out bool threadSafe) 93Package package = null; 118internal static void AddPackage(Uri uri, Package package) 132internal static void AddPackage(Uri uri, Package package, bool threadSafe) 201internal PackageThreadSafePair(Package package, bool threadSafe) 217internal Package Package 241private readonly Package _package;
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (2)
52internal PseudoWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry) 374private Package _cacheEntry; // cached package
Core\CSharp\MS\Internal\IO\Packaging\ResponseStream.cs (3)
50internal ResponseStream(Stream s, PackWebResponse response, Stream owningStream, Package container) 74private void Init(Stream s, PackWebResponse response, Stream owningStream, Package container) 282private Package _container; // container to release when we are closed
Core\CSharp\System\IO\Packaging\PackageStore.cs (6)
77public static Package GetPackage(Uri uri) 83Package package = null; 87package = (Package) _packages[uri]; 111public static void AddPackage(Uri uri, Package package) 174DemandSecurityPermissionIfCustomPackage((Package) _packages[uri]); 199private static void DemandSecurityPermissionIfCustomPackage(Package package)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (2)
80internal PackWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry, 607private Package _cacheEntry; // non-null if we found this in a cache
Core\CSharp\System\IO\Packaging\PackWebRequestFactory.cs (1)
110Package c = PreloadedPackages.GetPackage(packageUri, out cachedPackageIsThreadSafe);
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (5)
149internal PackWebResponse(Uri uri, Uri innerUri, Uri partName, Package cacheEntry, 273Package c = Package.Open(_responseStream); 635internal CachedResponse(PackWebResponse parent, Package cacheEntry, bool cachedPackageIsThreadSafe) 790private Package _cacheEntry;
PresentationFramework (23)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
49internal ContentFilePart(Package container, Uri uri) :
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
53public ResourcePart(Package container, Uri uri, string name, ResourceManagerWrapper rmWrapper) :
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
63internal PackageFilter(Package package) 676private Package _package;
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (3)
434_package = Package.Open(_packageStream); 575_package = Package.Open(_packageStream); 713private Package _package;
src\Framework\System\Windows\Application.cs (2)
2290private static Package GetResourcePackage(Uri packageUri) 2292Package package = PreloadedPackages.GetPackage(packageUri);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1016Package package = PreloadedPackages.GetPackage(packageUri);
src\Framework\System\Windows\Documents\FixedSchema.cs (2)
271public virtual void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType) 578public override void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType)
src\Framework\System\Windows\Documents\WpfPayload.cs (9)
135private WpfPayload(Package package) 412public Package Package 754private Package CreatePackage(Stream stream) 758_package = Package.Open(stream, FileMode.Create, FileAccess.ReadWrite); 780Package package = Package.Open(stream, FileMode.Create, FileAccess.ReadWrite); 801Package package = Package.Open(stream, FileMode.Open, FileAccess.Read); 886private Package _package;
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
78Package package = PreloadedPackages.GetPackage(packageUri); 91schema.ValidateRelationships(new SecurityCriticalData<Package>(package), packageUri, partUri, mimeType);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (2)
1102Package package = Package.Open(fs, FileMode.Create);
WindowsBase (38)
Base\MS\Internal\IO\Packaging\Certificate.cs (1)
143internal CertificatePart(Package container, Uri partName)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (3)
95internal InternalRelationshipCollection(Package package): this(package, null) 236private InternalRelationshipCollection(Package package, PackagePart part) 803private Package _package; // our package - in case _sourcePart is null
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
56internal PartBasedPackageProperties(Package package) 947private Package _package;
Base\System\IO\Packaging\EncryptedPackage.cs (5)
716public Package GetPackage() 751_package = Package.Open( 1164_package = Package.Open(_packageStream, FileMode.Open, this.FileOpenAccess); 1171_package = Package.Open(_packageStream, FileMode.Create, FileAccess.ReadWrite); 1205private Package _package;
Base\System\IO\Packaging\Package.cs (11)
145public static Package Open(string path) 161public static Package Open(string path, FileMode packageMode) 178public static Package Open(string path, FileMode packageMode, FileAccess packageAccess) 204public static Package Open(string path, FileMode packageMode, FileAccess packageAccess, FileShare packageShare) 224public static Package Open(Stream stream) 241public static Package Open(Stream stream, FileMode packageMode) 261public static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess) 971internal static Package Open( 980Package package = null; 1050internal static Package Open(Stream stream, FileMode packageMode, FileAccess packageAccess, bool streaming) 1053Package package = null;
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
344public PackageDigitalSignatureManager(Package package) 869internal Package Package 1401private Package _container;
Base\System\IO\Packaging\PackagePart.cs (8)
67protected PackagePart(Package package, Uri partUri) 95protected PackagePart(Package package, Uri partUri, string contentType) 124protected PackagePart(Package package, 135Package.ThrowIfCompressionOptionInvalid(compressionOption); 235public Package Package 805Package.ThrowIfFileModeInvalid(mode); 806Package.ThrowIfFileAccessInvalid(access); 918private Package _container;
Base\System\IO\Packaging\PackageRelationship.cs (3)
119public Package Package 158internal PackageRelationship(Package package, PackagePart sourcePart, Uri targetUri, TargetMode targetMode, string relationshipType, string id) 268private Package _package;
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
142public List<PackageRelationship> Select(Package package)
Base\System\IO\Packaging\ZipPackage.cs (1)
83Package.ThrowIfCompressionOptionInvalid(compressionOption);