1 instantiation of PackageRelationship
WindowsBase (1)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
499
PackageRelationship relationship = new
PackageRelationship
(_package, _sourcePart, targetUri, targetMode, relationshipType, id);
74 references to PackageRelationship
PresentationFramework (11)
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1032
foreach (
PackageRelationship
relationShip in resources)
src\Framework\System\Windows\Documents\FixedSchema.cs (5)
587
foreach (
PackageRelationship
rel in checkRels)
609
foreach (
PackageRelationship
rel in checkRels)
635
foreach (
PackageRelationship
rel in checkRels)
657
foreach (
PackageRelationship
rel in checkRels)
680
foreach (
PackageRelationship
rel in checkRels)
src\Framework\System\Windows\Documents\WpfPayload.cs (4)
494
PackageRelationship
componentRelationship = sourcePart.CreateRelationship(imagePartUri, TargetMode.Internal, XamlRelationshipFromXamlPartToComponentPart);
824
PackageRelationship
entryRelationship = _package.CreateRelationship(entryPartUri, TargetMode.Internal, XamlRelationshipFromPackageToEntryPart);
843
PackageRelationship
entryPartRelationship = null;
844
foreach (
PackageRelationship
packageRelationship in entryPartRelationships)
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (1)
110
foreach (
PackageRelationship
relationShip in requiredResources)
WindowsBase (63)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (12)
40
internal class InternalRelationshipCollection : IEnumerable<
PackageRelationship
>
61
IEnumerator<
PackageRelationship
> IEnumerable<
PackageRelationship
>.GetEnumerator()
70
public List<
PackageRelationship
>.Enumerator GetEnumerator()
107
internal
PackageRelationship
Add(Uri targetUri, TargetMode targetMode, string relationshipType, string id)
115
internal
PackageRelationship
GetRelationship(string id)
245
_relationships = new List<
PackageRelationship
>(4);
451
private
PackageRelationship
Add(Uri targetUri, TargetMode targetMode, string relationshipType, string id, bool parsing)
499
PackageRelationship
relationship = new PackageRelationship(_package, _sourcePart, targetUri, targetMode, relationshipType, id);
552
internal static void WriteRelationshipsAsXml(XmlWriter writer, IEnumerable<
PackageRelationship
> relationships, bool alwaysWriteTargetModeAttribute, bool inStreamingProduction)
554
foreach (
PackageRelationship
relationship in relationships)
801
private List<
PackageRelationship
> _relationships;
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (4)
520
PackageRelationship
corePropertiesRelationship = GetCorePropertiesRelationship();
546
private
PackageRelationship
GetCorePropertiesRelationship()
548
PackageRelationship
propertiesPartRelationship = null;
549
foreach (
PackageRelationship
rel
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (4)
538
internal static Stream GenerateRelationshipNodeStream(IEnumerable<
PackageRelationship
> relationships)
950
SortedDictionary<String,
PackageRelationship
> partRelationships =
951
new SortedDictionary<String,
PackageRelationship
>(StringComparer.Ordinal);
954
foreach (
PackageRelationship
r in relationshipSelector.Select(_manager.Package))
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (6)
657
if (PackUriHelper.ComparePartUri(relationshipPartName,
PackageRelationship
.ContainerRelationshipPartName) == 0)
658
relationshipPartString =
PackageRelationship
.ContainerRelationshipPartName.ToString();
819
private static IEnumerable<
PackageRelationship
> GetRelationships(
823
SortedDictionary<String,
PackageRelationship
>
824
relationshipsDictionarySortedById = new SortedDictionary<String,
PackageRelationship
>(StringComparer.Ordinal);
829
foreach (
PackageRelationship
r in relationshipSelector.Select(manager.Package))
Base\System\IO\Packaging\Package.cs (6)
644
public
PackageRelationship
CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType)
668
public
PackageRelationship
CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id)
752
public
PackageRelationship
GetRelationship(string id)
757
PackageRelationship
returnedRelationship = GetRelationshipHelper(id);
1334
if (PackUriHelper.IsRelationshipPartUri(p.Uri) && PackUriHelper.ComparePartUri(p.Uri,
PackageRelationship
.ContainerRelationshipPartName) != 0)
1413
private
PackageRelationship
GetRelationshipHelper(string id)
Base\System\IO\Packaging\PackageDigitalSignature.cs (1)
397
foreach (
PackageRelationship
relationship in relationships)
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (10)
497
PackageRelationship
relationshipToNewSignature = OriginPart.CreateRelationship(newSignaturePartName, TargetMode.Internal,
778
foreach (
PackageRelationship
r in p.GetRelationshipsByType(CertificatePart.RelationshipType))
1104
private delegate bool RelationshipOperation(
PackageRelationship
r, Object context);
1125
List<
PackageRelationship
> relationshipsToVisit = new List<
PackageRelationship
>(relationships);
1140
private bool DeleteCertificateIfReferenceCountBecomesZeroVisitor(
PackageRelationship
r, Object context)
1159
private bool DeleteRelationshipOfTypePackageToOriginVisitor(
PackageRelationship
r, Object context)
1185
private bool DeleteRelationshipToSignature(
PackageRelationship
r, Object signatureUri)
1284
foreach (
PackageRelationship
r in relationships)
1327
foreach (
PackageRelationship
r in containerRelationships)
Base\System\IO\Packaging\PackagePart.cs (5)
414
public
PackageRelationship
CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType)
440
public
PackageRelationship
CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id)
529
public
PackageRelationship
GetRelationship(string id)
534
PackageRelationship
returnedRelationship = GetRelationshipHelper(id);
852
private
PackageRelationship
GetRelationshipHelper(string id)
Base\System\IO\Packaging\PackageRelationshipCollection.cs (8)
35
public class PackageRelationshipCollection : IEnumerable<
PackageRelationship
>
58
public IEnumerator<
PackageRelationship
> GetEnumerator()
60
List<
PackageRelationship
>.Enumerator relationshipsEnumerator = _relationships.GetEnumerator();
114
private sealed class FilteredEnumerator : IEnumerator<
PackageRelationship
>
123
internal FilteredEnumerator(IEnumerator<
PackageRelationship
> enumerator, string filter)
185
public
PackageRelationship
Current
209
PackageRelationship
r = _enumerator.Current;
222
private IEnumerator<
PackageRelationship
> _enumerator;
Base\System\IO\Packaging\PackageRelationshipSelector.cs (5)
142
public List<
PackageRelationship
> Select(Package package)
149
List<
PackageRelationship
> relationships = new List<
PackageRelationship
>(0);
173
foreach (
PackageRelationship
r in package.GetRelationshipsByType(SelectionCriteria))
180
foreach (
PackageRelationship
r in package.GetPart(SourceUri).GetRelationshipsByType(SelectionCriteria))
Base\System\IO\Packaging\PackUriHelper.cs (2)
443
return
PackageRelationship
.ContainerRelationshipPartName;
506
if (PackUriHelper.ComparePartUri(
PackageRelationship
.ContainerRelationshipPartName, relationshipPartUri) == 0)