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