37 references to TargetMode
PresentationFramework (2)
src\Framework\System\Windows\Documents\WpfPayload.cs (2)
494
PackageRelationship componentRelationship = sourcePart.CreateRelationship(imagePartUri,
TargetMode
.Internal, XamlRelationshipFromXamlPartToComponentPart);
824
PackageRelationship entryRelationship = _package.CreateRelationship(entryPartUri,
TargetMode
.Internal, XamlRelationshipFromPackageToEntryPart);
WindowsBase (35)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (13)
107
internal PackageRelationship Add(Uri targetUri,
TargetMode
targetMode, string relationshipType, string id)
381
TargetMode
relationshipTargetMode =
TargetMode
.Internal;
387
relationshipTargetMode = (
TargetMode
)(Enum.Parse(typeof(
TargetMode
), targetModeAttributeValue, false /* ignore case */));
451
private PackageRelationship Add(Uri targetUri,
TargetMode
targetMode, string relationshipType, string id, bool parsing)
462
if (targetMode <
TargetMode
.Internal || targetMode >
TargetMode
.External)
466
if (targetMode ==
TargetMode
.Internal && targetUri.IsAbsoluteUri)
475
if ((!targetUri.IsAbsoluteUri && targetMode !=
TargetMode
.External)
575
if (alwaysWriteTargetModeAttribute || relationship.TargetMode ==
TargetMode
.External)
625
private Uri GetResolvedTargetUri(Uri target,
TargetMode
targetMode)
627
if (targetMode ==
TargetMode
.Internal)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
525
if (corePropertiesRelationship.TargetMode !=
TargetMode
.Internal)
812
_package.CreateRelationship(_propertyPart.Uri,
TargetMode
.Internal,
Base\System\IO\Packaging\Package.cs (2)
644
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType)
668
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType, String id)
Base\System\IO\Packaging\PackageDigitalSignature.cs (1)
400
if (relationship.TargetMode !=
TargetMode
.Internal)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (9)
497
PackageRelationship relationshipToNewSignature = OriginPart.CreateRelationship(newSignaturePartName,
TargetMode
.Internal,
580
newSignaturePart.CreateRelationship(certificatePartName,
TargetMode
.Internal, CertificatePart.RelationshipType);
781
if (r.TargetMode !=
TargetMode
.Internal)
1143
if (r.TargetMode !=
TargetMode
.Internal)
1169
if (r.TargetMode !=
TargetMode
.Internal)
1191
if (r.TargetMode !=
TargetMode
.Internal)
1287
if (r.TargetMode !=
TargetMode
.Internal)
1330
if (r.TargetMode !=
TargetMode
.Internal)
1387
_container.CreateRelationship(_originPartName,
TargetMode
.Internal, _originRelationshipType);
Base\System\IO\Packaging\PackagePart.cs (2)
414
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType)
440
public PackageRelationship CreateRelationship(Uri targetUri,
TargetMode
targetMode, string relationshipType, String id)
Base\System\IO\Packaging\PackageRelationship.cs (6)
94
public
TargetMode
TargetMode
158
internal PackageRelationship(Package package, PackagePart sourcePart, Uri targetUri,
TargetMode
targetMode, string relationshipType, string id)
188
Debug.Assert((targetMode ==
TargetMode
.External || !targetUri.IsAbsoluteUri),
192
Debug.Assert ((targetMode >=
TargetMode
.Internal || targetMode <=
TargetMode
.External),
272
private
TargetMode
_targetMode;