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