60 references to Uri
BuildBoss (1)
Extensions.cs (1)
21var relativeName = part.Uri.ToString().Replace('/', '\\');
Microsoft.DotNet.NuGetRepack.Tasks (2)
src\NuGetVersionUpdater.cs (1)
134string relativePath = part.Uri.OriginalString;
src\ReplacePackageParts.cs (1)
132string relativePath = part.Uri.OriginalString;
PresentationCore (2)
MS\Internal\AppModel\SiteOfOriginPart.cs (2)
125string original = Uri.ToString(); 166_contentType = MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(Uri);
PresentationFramework (5)
MS\Internal\AppModel\ContentFilePart.cs (3)
66BaseUriHelper.GetAssemblyNameAndPart(Uri, out filePath, out assemblyName, out assemblyVersion, out assemblyKey); 76throw new IOException(SR.Format(SR.UnableToLocateResource, Uri.ToString())); 84return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(Uri.ToString(), UriKind.RelativeOrAbsolute)).ToString();
MS\Internal\IO\Packaging\PackageFilter.cs (1)
368string filterClsid = GetFilterClsid(contentType, currentPart.Uri);
System\Windows\Documents\WpfPayload.cs (1)
318Uri entryPartUri = System.IO.Packaging.PackUriHelper.Create(payloadUri, xamlEntryPart.Uri); // gives an absolute uri of the entry part
PresentationUI (15)
MS\Internal\Documents\Application\TransactionalPackage.cs (12)
112if (destination.PartExists(part.Uri)) 117part.Uri, 121part, destination.GetPart(part.Uri)); 128part.Uri, 134part.Uri, part.ContentType)); 157Uri normalizedPartUri = PackUriHelper.GetNormalizedPartUri(part.Uri); 160_activeParts[normalizedPartUri].Target = newPackage.GetPart(part.Uri); 231result.Uri, 444_proxiedParts.Add(GetPartCore(part.Uri)); 526Uri partUri = packagePart.Uri; 547temp.Uri, 559temp.Uri,
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (3)
62: base(container, readingPart.Uri) 147_activePart.Uri, 187_activePart.Uri,
ReachFramework (24)
Packaging\XpsDocument.cs (2)
485packageSignatures.RemoveSignature(signature.PackageSignature.SignaturePart.Uri ); 610parserContext.BaseUri = PackUriHelper.Create(Uri, CurrentXpsManager.StartingPart.Uri);
Packaging\XpsFixedDocumentReaderWriter.cs (3)
266this.Uri = part.Uri; 734dependentList[signatureDefinitionPart.Uri] = signatureDefinitionPart.Uri;
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (1)
201this.Uri = part.Uri;
Packaging\XpsFixedPageReaderWriter.cs (7)
451this.Uri = part.Uri; 830string resourcePath = XpsManager.MakeRelativePath(this.Uri, metroPart.Uri); 1524Uri absUri = PackUriHelper.ResolvePartUri(parentPart.Uri, rel.TargetUri); 1634string resourcePath = XpsManager.MakeRelativePath(this.Uri, metroPart.Uri); 1675string resourcePath = XpsManager.MakeRelativePath(this.Uri, metroPart.Uri); 1747string resourcePath = XpsManager.MakeRelativePath(this.Uri, metroPart.Uri); 1785string resourcePath = XpsManager.MakeRelativePath(this.Uri, metroPart.Uri);
Packaging\XpsManager.cs (10)
451string relativePath = XpsManager.MakeRelativePath(metroPart.Uri, printTicketPart.Uri); 505string relativePath = XpsManager.MakeRelativePath(metroPart.Uri, printTicketPart.Uri); 557PackagePart sigDefPart = GetSignatureDefinitionPart(documentPart.Uri); 563sigDefPart.Uri, 709_metroPackage.CreateRelationship(propertiesPart.Uri, TargetMode.Internal, XpsS0Markup.CorePropertiesRelationshipType ); 777dependents[propertiesPart.Uri] = propertiesPart.Uri; 1479package.CreateRelationship(startingPart.Uri, TargetMode.Internal, XpsS0Markup.ReachPackageStartingPartRelationshipType);
Packaging\XpsResource.cs (1)
40this.Uri = part.Uri;
System.IO.Packaging (11)
System\IO\Packaging\InternalRelationshipCollection.cs (2)
210sourceUri = part.Uri; 564return PackUriHelper.ResolvePartUri(_sourcePart.Uri, target);
System\IO\Packaging\Package.cs (7)
322validatedPartUri = (PackUriHelper.ValidatedPartUri)value.Uri; 409Array.Sort(parts, Comparer<PackagePart>.Create((partA, partB) => uriComparer.Compare((PackUriHelper.ValidatedPartUri)partA.Uri, (PackUriHelper.ValidatedPartUri)partB.Uri))); 422partUri = (PackUriHelper.ValidatedPartUri)parts[i].Uri; 1099if (PackUriHelper.IsRelationshipPartUri(p.Uri) && PackUriHelper.ComparePartUri(p.Uri, PackageRelationship.ContainerRelationshipPartName) != 0) 1106(PackUriHelper.ValidatedPartUri)PackUriHelper.GetSourcePartUriFromRelationshipPartUri(p.Uri);
System\IO\Packaging\PackageRelationship.cs (1)
35return _source.Uri;
System\IO\Packaging\PartBasedPackageProperties.cs (1)
724_package.CreateRelationship(_propertyPart.Uri, TargetMode.Internal,