1 instantiation of PackageRelationship
System.IO.Packaging (1)
System\IO\Packaging\InternalRelationshipCollection.cs (1)
442PackageRelationship relationship = new PackageRelationship(_package, _sourcePart, targetUri, targetMode, relationshipType, id);
77 references to PackageRelationship
PresentationFramework (12)
System\Windows\Documents\FixedDocument.cs (1)
985foreach (PackageRelationship relationShip in resources)
System\Windows\Documents\FixedSchema.cs (5)
577foreach (PackageRelationship rel in checkRels) 599foreach (PackageRelationship rel in checkRels) 625foreach (PackageRelationship rel in checkRels) 647foreach (PackageRelationship rel in checkRels) 670foreach (PackageRelationship rel in checkRels)
System\Windows\Documents\WpfPayload.cs (4)
460PackageRelationship componentRelationship = sourcePart.CreateRelationship(imagePartUri, TargetMode.Internal, XamlRelationshipFromXamlPartToComponentPart); 782PackageRelationship entryRelationship = _package.CreateRelationship(entryPartUri, TargetMode.Internal, XamlRelationshipFromPackageToEntryPart); 801PackageRelationship entryPartRelationship = null; 802foreach (PackageRelationship packageRelationship in entryPartRelationships)
System\Windows\Documents\XPSS0ValidatingLoader.cs (2)
20using PackageRelationship = System.IO.Packaging.PackageRelationship; 105foreach (PackageRelationship relationShip in requiredResources)
ReachFramework (23)
Packaging\XpsFixedDocumentReaderWriter.cs (4)
26using PackageRelationship = System.IO.Packaging.PackageRelationship; 528foreach (PackageRelationship rel in _metroPart.GetRelationships()) 1037PackageRelationship documentStructureRelationship = null; 1040foreach (PackageRelationship rel in _metroPart.GetRelationshipsByType(XpsS0Markup.StructureRelationshipName))
Packaging\XpsFixedPageReaderWriter.cs (6)
28using PackageRelationship = System.IO.Packaging.PackageRelationship; 741foreach (PackageRelationship rel in _metroPart.GetRelationships()) 1521Dictionary<Uri,PackageRelationship> restictedFontRels = new Dictionary<Uri,PackageRelationship>(MS.Internal.UriComparer.Default); 1522foreach( PackageRelationship rel in parentPart.GetRelationshipsByType(XpsS0Markup.RestrictedFontRelationshipType) ) 1527foreach( PackageRelationship rel in _metroPart.GetRelationships() )
Packaging\XpsManager.cs (13)
26using PackageRelationship = System.IO.Packaging.PackageRelationship; 585PackageRelationship SigDefRel = null; 587foreach (PackageRelationship rel in 608PackageRelationship propertiesPartRelationship = 634PackageRelationship thumbNailRel = null; 648foreach( PackageRelationship rel in thumbnailCollection ) 677PackageRelationship printTicketRel = null; 679foreach (PackageRelationship rel in 1243PackageRelationship 1246PackageRelationship propertiesPartRelationship = null; 1247foreach (PackageRelationship rel in _metroPackage.GetRelationshipsByType(XpsS0Markup.CorePropertiesRelationshipType)) 1409PackageRelationship startingPartRelationship = null; 1412foreach (PackageRelationship rel in package.GetRelationshipsByType(XpsS0Markup.ReachPackageStartingPartRelationshipType))
System.IO.Packaging (41)
System\IO\Packaging\InternalRelationshipCollection.cs (11)
28internal sealed class InternalRelationshipCollection : IEnumerable<PackageRelationship> 50public IEnumerator<PackageRelationship> GetEnumerator() 82internal PackageRelationship Add(Uri targetUri, TargetMode targetMode, string relationshipType, string? id) 90internal PackageRelationship? GetRelationship(string id) 91=> _relationships.TryGetValue(id, out var result) ? result : null; 183_relationships = new OrderedDictionary<string, PackageRelationship>(4); 390private PackageRelationship Add(Uri targetUri, TargetMode targetMode, string relationshipType, string? id, bool parsing) 442PackageRelationship relationship = new PackageRelationship(_package, _sourcePart, targetUri, targetMode, relationshipType, id); 494internal static void WriteRelationshipsAsXml(XmlWriter writer, IEnumerable<PackageRelationship> relationships, bool alwaysWriteTargetModeAttribute) 496foreach (PackageRelationship relationship in relationships) 626private readonly OrderedDictionary<string, PackageRelationship> _relationships;
System\IO\Packaging\Package.cs (6)
578public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType) 602public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, string? id) 685public PackageRelationship GetRelationship(string id) 690PackageRelationship? returnedRelationship = GetRelationshipHelper(id); 1099if (PackUriHelper.IsRelationshipPartUri(p.Uri) && PackUriHelper.ComparePartUri(p.Uri, PackageRelationship.ContainerRelationshipPartName) != 0) 1179private PackageRelationship? GetRelationshipHelper(string id)
System\IO\Packaging\PackagePart.cs (5)
382public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType) 408public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, string? id) 496public PackageRelationship GetRelationship(string id) 501PackageRelationship? returnedRelationship = GetRelationshipHelper(id); 743private PackageRelationship? GetRelationshipHelper(string id)
System\IO\Packaging\PackageRelationshipCollection.cs (8)
17public class PackageRelationshipCollection : IEnumerable<PackageRelationship> 35public IEnumerator<PackageRelationship> GetEnumerator() 37IEnumerator<PackageRelationship> relationshipsEnumerator = _relationships.GetEnumerator(); 75private sealed class FilteredEnumerator : IEnumerator<PackageRelationship> 84internal FilteredEnumerator(IEnumerator<PackageRelationship> enumerator, string filter) 146public PackageRelationship Current 170PackageRelationship r = _enumerator.Current; 178private readonly IEnumerator<PackageRelationship> _enumerator;
System\IO\Packaging\PackageRelationshipSelector.cs (5)
115public List<PackageRelationship> Select(Package package) 122List<PackageRelationship> relationships = new List<PackageRelationship>(0); 146foreach (PackageRelationship r in package.GetRelationshipsByType(SelectionCriteria)) 153foreach (PackageRelationship r in package.GetPart(SourceUri).GetRelationshipsByType(SelectionCriteria))
System\IO\Packaging\PackUriHelper.cs (2)
216return PackageRelationship.ContainerRelationshipPartName; 280if (PackUriHelper.ComparePartUri(PackageRelationship.ContainerRelationshipPartName, relationshipPartUri) == 0)
System\IO\Packaging\PartBasedPackageProperties.cs (4)
435PackageRelationship? corePropertiesRelationship = GetCorePropertiesRelationship(); 461private PackageRelationship? GetCorePropertiesRelationship() 463PackageRelationship? propertiesPartRelationship = null; 464foreach (PackageRelationship rel
WindowsBase (1)
WindowsBase.cs (1)
17[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.IO.Packaging.PackageRelationship))]