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