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