45 references to TargetMode
PresentationFramework (2)
System\Windows\Documents\WpfPayload.cs (2)
460
PackageRelationship componentRelationship = sourcePart.CreateRelationship(imagePartUri,
TargetMode
.Internal, XamlRelationshipFromXamlPartToComponentPart);
782
PackageRelationship entryRelationship = _package.CreateRelationship(entryPartUri,
TargetMode
.Internal, XamlRelationshipFromPackageToEntryPart);
ReachFramework (18)
Packaging\XpsDocument.cs (1)
515
TargetMode
.Internal,
Packaging\XpsFixedDocumentReaderWriter.cs (3)
460
TargetMode
.Internal,
497
TargetMode
.Internal,
545
TargetMode
.Internal,
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (1)
342
TargetMode
.Internal,
Packaging\XpsFixedPageReaderWriter.cs (8)
754
TargetMode
.Internal,
837
TargetMode
.Internal,
874
TargetMode
.Internal,
1092
TargetMode
.Internal,
1636
TargetMode
.Internal,
1677
TargetMode
.Internal,
1749
TargetMode
.Internal,
1787
TargetMode
.Internal,
Packaging\XpsManager.cs (5)
453
TargetMode
.Internal,
507
TargetMode
.Internal,
564
TargetMode
.Internal,
709
_metroPackage.CreateRelationship(propertiesPart.Uri,
TargetMode
.Internal, XpsS0Markup.CorePropertiesRelationshipType );
1479
package.CreateRelationship(startingPart.Uri,
TargetMode
.Internal, XpsS0Markup.ReachPackageStartingPartRelationshipType);
System.IO.Packaging (24)
System\IO\Packaging\InternalRelationshipCollection.cs (12)
82
internal PackageRelationship Add(Uri targetUri,
TargetMode
targetMode, string relationshipType, string? id)
317
TargetMode
relationshipTargetMode =
TargetMode
.Internal;
324
relationshipTargetMode = Enum.Parse<
TargetMode
>(targetModeAttributeValue, ignoreCase: false);
390
private PackageRelationship Add(Uri targetUri,
TargetMode
targetMode, string relationshipType, string? id, bool parsing)
404
if (targetMode <
TargetMode
.Internal || targetMode >
TargetMode
.External)
408
if (targetMode ==
TargetMode
.Internal && targetUri.IsAbsoluteUri)
417
if ((!targetUri.IsAbsoluteUri && targetMode !=
TargetMode
.External)
514
if (alwaysWriteTargetModeAttribute || relationship.TargetMode ==
TargetMode
.External)
556
private Uri GetResolvedTargetUri(Uri target,
TargetMode
targetMode)
558
Debug.Assert(targetMode ==
TargetMode
.Internal);
System\IO\Packaging\Package.cs (2)
578
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType)
602
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType, string? id)
System\IO\Packaging\PackagePart.cs (2)
382
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType)
408
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType, string? id)
System\IO\Packaging\PackageRelationship.cs (6)
67
public
TargetMode
TargetMode
113
internal PackageRelationship(Package package, PackagePart? sourcePart, Uri targetUri,
TargetMode
targetMode, string relationshipType, string id)
149
Debug.Assert((targetMode ==
TargetMode
.External || !targetUri.IsAbsoluteUri),
153
Debug.Assert((targetMode >=
TargetMode
.Internal || targetMode <=
TargetMode
.External),
188
private readonly
TargetMode
_targetMode;
System\IO\Packaging\PartBasedPackageProperties.cs (2)
440
if (corePropertiesRelationship.TargetMode !=
TargetMode
.Internal)
724
_package.CreateRelationship(_propertyPart.Uri,
TargetMode
.Internal,
WindowsBase (1)
WindowsBase.cs (1)
22
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Packaging.
TargetMode
))]