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