4 types derived from PackagePart
PresentationCore (1)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
32
internal class SiteOfOriginPart : System.IO.Packaging.
PackagePart
PresentationFramework (2)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (1)
34
internal class ContentFilePart : System.IO.Packaging.
PackagePart
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
39
internal class ResourcePart : System.IO.Packaging.
PackagePart
WindowsBase (1)
Base\System\IO\Packaging\ZipPackagePart.cs (1)
29
public sealed class ZipPackagePart :
PackagePart
106 references to PackagePart
PresentationCore (5)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (3)
258
protected override
PackagePart
GetPartCore(Uri uri)
347
protected override
PackagePart
CreatePartCore(Uri uri, string contentType, CompressionOption compressionOption)
357
protected override
PackagePart
[] GetPartsCore()
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (2)
277
PackagePart
p = c.GetPart(_partName);
676
PackagePart
p = _cacheEntry.GetPart(_parent._partName);
PresentationFramework (33)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (3)
218
protected override
PackagePart
GetPartCore(Uri uri)
429
protected override
PackagePart
CreatePartCore(Uri uri, string contentType, CompressionOption compressionOption)
439
protected override
PackagePart
[] GetPartsCore()
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
374
PackagePart
currentPart = (
PackagePart
)_partIterator.Current;
src\Framework\System\Windows\Application.cs (4)
518
PackagePart
part = GetResourceOrContentPart(resourceLocator);
593
PackagePart
part = GetResourceOrContentPart(packUri);
2254
private static
PackagePart
GetResourceOrContentPart(Uri uri)
2275
PackagePart
part = null;
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1028
PackagePart
part = package.GetPart(partUri);
src\Framework\System\Windows\Documents\FixedSchema.cs (6)
580
PackagePart
part = package.Value.GetPart(partUri);
599
PackagePart
targetPart = package.Value.GetPart(targetUri);
621
PackagePart
targetPart = package.Value.GetPart(targetUri);
641
PackagePart
targetPart = package.Value.GetPart(targetUri);
669
PackagePart
targetPart = package.Value.GetPart(targetUri);
692
PackagePart
targetPart = package.Value.GetPart(targetUri);
src\Framework\System\Windows\Documents\WpfPayload.cs (15)
222
PackagePart
xamlEntryPart = wpfPayload.CreateWpfEntryPart();
266
PackagePart
xamlEntryPart = wpfPayload.CreateWpfEntryPart();
336
PackagePart
xamlEntryPart = wpfPayload.ValidatePayload();
385
private
PackagePart
ValidatePayload()
388
PackagePart
xamlEntryPart = this.GetWpfEntryPart();
458
private void CreateComponentParts(
PackagePart
sourcePart)
482
private void CreateImagePart(
PackagePart
sourcePart, BitmapSource imageSource, string imageContentType, int imageIndex)
491
PackagePart
imagePart = _package.CreatePart(imagePartUri, imageContentType, CompressionOption.NotCompressed);
711
PackagePart
part = this.CreateWpfEntryPart();
727
PackagePart
imagePart = _package.CreatePart(imagePartUri, contentType, CompressionOption.NotCompressed);
744
PackagePart
imagePart = _package.GetPart(imagePartUri);
805
private
PackagePart
CreateWpfEntryPart()
811
PackagePart
part = _package.CreatePart(entryPartUri, XamlContentType, CompressionOption.Normal);
837
private
PackagePart
GetWpfEntryPart()
839
PackagePart
wpfEntryPart = null;
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
107
PackagePart
part = package.GetPart(partUri);
115
PackagePart
targetPart = package.GetPart(targetUri);
WindowsBase (68)
Base\MS\Internal\IO\Packaging\Certificate.cs (1)
175
private
PackagePart
_part; // part that houses the certificate
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (7)
87
internal InternalRelationshipCollection(
PackagePart
part): this(part.Package, part)
236
private InternalRelationshipCollection(Package package,
PackagePart
part)
265
private static Uri GetRelationshipPartUri(
PackagePart
part)
282
private void ParseRelationshipPart(
PackagePart
part)
513
private void WriteRelationshipPart(
PackagePart
part)
804
private
PackagePart
_sourcePart; // owning part - null if package is the owner
805
private
PackagePart
_relationshipPart; // where our relationships are persisted
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (4)
517
private
PackagePart
GetPropertyPart()
528
PackagePart
propertiesPart = null;
562
private void ParseCorePropertyPart(
PackagePart
part)
948
private
PackagePart
_propertyPart;
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (6)
65
PackagePart
signaturePart, PackageDigitalSignature packageSignature) : this(manager, signaturePart)
75
PackagePart
signaturePart,
181
PackagePart
part = _manager.Package.GetPart(partEntry.Uri);
287
internal
PackagePart
SignaturePart
745
PackagePart
signaturePart)
1293
private
PackagePart
_signaturePart;
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
753
PackagePart
part = manager.Package.GetPart(partName);
Base\System\IO\Packaging\Package.cs (24)
74
_partList = new SortedList<PackUriHelper.ValidatedPartUri,
PackagePart
>(); // initial default is zero
283
public
PackagePart
CreatePart(Uri partUri, string contentType)
306
public
PackagePart
CreatePart(Uri partUri,
331
PackagePart
addedPart = CreatePartCore(validatedPartUri,
355
public
PackagePart
GetPart(Uri partUri)
357
PackagePart
returnedPart = GetPartHelper(partUri);
455
PackagePart
owningPart = this.GetPart(owningPartUri);
486
PackagePart
[] parts = GetPartsCore();
500
Dictionary<PackUriHelper.ValidatedPartUri,
PackagePart
> seenPartUris = new Dictionary<PackUriHelper.ValidatedPartUri,
PackagePart
>(parts.Length);
796
protected abstract
PackagePart
CreatePartCore(Uri partUri,
808
protected abstract
PackagePart
GetPartCore(Uri partUri);
825
protected abstract
PackagePart
[] GetPartsCore();
931
internal delegate bool PartOperation(
PackagePart
p);
1155
private void AddIfNoPrefixCollisionDetected(PackUriHelper.ValidatedPartUri partUri,
PackagePart
part)
1316
PackagePart
p;
1330
private bool DoClose(
PackagePart
p)
1343
PackagePart
sourcePart;
1352
private bool DoFlush(
PackagePart
p)
1358
private bool DoWriteRelationshipsXml(
PackagePart
p)
1367
private bool DoCloseRelationshipsXml(
PackagePart
p)
1376
private
PackagePart
GetPartHelper(Uri partUri)
1396
PackagePart
returnedPart = GetPartCore(validatePartUri);
1465
private SortedList<PackUriHelper.ValidatedPartUri,
PackagePart
> _partList;
Base\System\IO\Packaging\PackageDigitalSignature.cs (2)
120
public
PackagePart
SignaturePart
368
PackagePart
signaturePart)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (7)
517
PackagePart
newSignaturePart = null;
672
PackagePart
part = _container.GetPart(uri);
774
PackagePart
p = _signatures[i].SignaturePart;
1296
PackagePart
signaturePart = _container.GetPart(signaturePartName);
1340
PackagePart
p = _container.GetPart(targetUri);
1377
private
PackagePart
OriginPart
1405
private
PackagePart
_originPart;
Base\System\IO\Packaging\PackagePartCollection.cs (6)
30
public class PackagePartCollection : IEnumerable<
PackagePart
>
67
IEnumerator<
PackagePart
> IEnumerable<
PackagePart
>.GetEnumerator()
77
public IEnumerator<
PackagePart
> GetEnumerator()
101
internal PackagePartCollection(SortedList<PackUriHelper.ValidatedPartUri,
PackagePart
> partList)
141
private SortedList<PackUriHelper.ValidatedPartUri,
PackagePart
> _partList;
Base\System\IO\Packaging\PackageRelationship.cs (2)
158
internal PackageRelationship(Package package,
PackagePart
sourcePart, Uri targetUri, TargetMode targetMode, string relationshipType, string id)
269
private
PackagePart
_source;
Base\System\IO\Packaging\PackageRelationshipSelector.cs (1)
163
PackagePart
part = package.GetPart(SourceUri);
Base\System\IO\Packaging\ZipPackage.cs (7)
73
protected override
PackagePart
CreatePartCore(Uri partUri,
134
protected override
PackagePart
GetPartCore(Uri partUri)
232
protected override
PackagePart
[] GetPartsCore()
234
List<
PackagePart
> parts = new List<
PackagePart
>(_initialPartListSize);
655
private void ProcessPieces(SortedDictionary<PieceInfo, Object> pieceDictionary, List<
PackagePart
> parts)
774
List<
PackagePart
> parts)