45 references to TargetMode
PresentationFramework (2)
System\Windows\Documents\WpfPayload.cs (2)
461
PackageRelationship componentRelationship = sourcePart.CreateRelationship(imagePartUri,
TargetMode
.Internal, XamlRelationshipFromXamlPartToComponentPart);
783
PackageRelationship entryRelationship = _package.CreateRelationship(entryPartUri,
TargetMode
.Internal, XamlRelationshipFromPackageToEntryPart);
ReachFramework (18)
Packaging\XpsDocument.cs (1)
514
TargetMode
.Internal,
Packaging\XpsFixedDocumentReaderWriter.cs (3)
459
TargetMode
.Internal,
496
TargetMode
.Internal,
544
TargetMode
.Internal,
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (1)
341
TargetMode
.Internal,
Packaging\XpsFixedPageReaderWriter.cs (8)
753
TargetMode
.Internal,
836
TargetMode
.Internal,
873
TargetMode
.Internal,
1091
TargetMode
.Internal,
1632
TargetMode
.Internal,
1673
TargetMode
.Internal,
1745
TargetMode
.Internal,
1783
TargetMode
.Internal,
Packaging\XpsManager.cs (5)
452
TargetMode
.Internal,
506
TargetMode
.Internal,
563
TargetMode
.Internal,
708
_metroPackage.CreateRelationship(propertiesPart.Uri,
TargetMode
.Internal, XpsS0Markup.CorePropertiesRelationshipType );
1478
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)
398
if (targetMode <
TargetMode
.Internal || targetMode >
TargetMode
.External)
402
if (targetMode ==
TargetMode
.Internal && targetUri.IsAbsoluteUri)
411
if ((!targetUri.IsAbsoluteUri && targetMode !=
TargetMode
.External)
508
if (alwaysWriteTargetModeAttribute || relationship.TargetMode ==
TargetMode
.External)
550
private Uri GetResolvedTargetUri(Uri target,
TargetMode
targetMode)
552
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)
376
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType)
402
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)
137
Debug.Assert((targetMode ==
TargetMode
.External || !targetUri.IsAbsoluteUri),
141
Debug.Assert((targetMode >=
TargetMode
.Internal || targetMode <=
TargetMode
.External),
176
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
))]