66 references to Relative
PresentationCore (5)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (1)
322
return new Uri(new Uri(codeBase), new Uri(".", UriKind.
Relative
));
Core\CSharp\System\Windows\Media\Color.cs (1)
309
context.ProfileUri.IsAbsoluteUri ? UriKind.Absolute : UriKind.
Relative
);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (3)
204
Uri partUri = new Uri(uri.AbsolutePath, UriKind.
Relative
);
498
source = new Uri(uri.AbsolutePath, UriKind.
Relative
);
553
return new Uri(appendedUri, UriKind.
Relative
);
PresentationFramework (6)
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
168
Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr, UriKind.
Relative
));
src\Framework\System\Windows\Documents\WpfPayload.cs (4)
488
Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.
Relative
);
724
Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.
Relative
);
743
Uri imagePartUri = new Uri(XamlPayloadDirectory + imageSourceString, UriKind.
Relative
);
808
Uri entryPartUri = new Uri(XamlPayloadDirectory + XamlEntryName, UriKind.
Relative
);
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
385
BaseUriHelper.GetAssemblyNameAndPart(new Uri(relativeUri, UriKind.
Relative
), out part, out assy, out assyVers, out assyKey);
System (11)
net\System\_UriTypeConverter.cs (3)
75
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.
Relative
: m_UriKind);
88
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.
Relative
: m_UriKind });
96
m_UriKind == UriKind.RelativeOrAbsolute ? uri.IsAbsoluteUri ? UriKind.Absolute : UriKind.
Relative
: m_UriKind);
net\System\URI.cs (2)
666
CreateThis(uriString, false, UriKind.
Relative
);
1936
return new Uri(relativeUriString, UriKind.
Relative
);
net\System\UriExt.cs (6)
36
if ((int)uriKind < (int)UriKind.RelativeOrAbsolute || (int)uriKind > (int)UriKind.
Relative
) {
67
(uriKind == UriKind.
Relative
|| (m_String.Length >= 2 && (m_String[0] != '\\' || m_String[1] != '\\'))))
81
else if (uriKind == UriKind.
Relative
&& InFact(Flags.DosPath))
136
else if (uriKind == UriKind.
Relative
)
197
else if (uriKind == UriKind.
Relative
)
694
if ((int)uriKind < (int)UriKind.RelativeOrAbsolute || (int)uriKind > (int)UriKind.
Relative
){
System.Data.Services (2)
System\Data\Services\Serializers\SyndicationSerializer.cs (2)
341
link.Uri = new Uri(relativeUri, UriKind.
Relative
);
582
var uri = new Uri(relativeUri, UriKind.
Relative
);
System.Data.Services.Client (11)
System\Data\Services\Client\ALinq\UriWriter.cs (1)
68
uri = Util.CreateUri(context.BaseUriWithSlash, Util.CreateUri(writer.uriBuilder.ToString(), UriKind.
Relative
));
System\Data\Services\Client\DataServiceContext.cs (5)
2718
relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + CommonUtil.UriToString(navigationPropertyUri), UriKind.
Relative
);
2722
relative = Util.CreateUri(XmlConstants.UriLinkSegment + "/" + binding.SourceProperty, UriKind.
Relative
);
3267
relativeUri = Util.CreateUri(XmlConstants.UriValueSegment, UriKind.
Relative
);
3271
relativeUri = Util.CreateUri(propertyName + (null != property.CollectionType ? "()" : String.Empty), UriKind.
Relative
);
5050
Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, Util.CreateUri("$batch", UriKind.
Relative
));
System\Data\Services\Client\EntityDescriptor.cs (4)
386
Util.CreateUri(baseUriWithSlash, new Uri("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture), UriKind.
Relative
)),
387
Util.CreateUri(this.parentProperty, UriKind.
Relative
));
479
return Util.CreateUri(this.entitySetName, UriKind.
Relative
);
483
return Util.CreateUri(this.parentProperty, UriKind.
Relative
);
System\Data\Services\Client\Util.cs (1)
288
requestUri = new Uri(baseUri, Util.CreateUri(requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.
Relative
));
System.IdentityModel (1)
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (1)
22
public static readonly Uri EmptyResource = new Uri(string.Empty, UriKind.
Relative
);
System.ServiceModel (9)
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
184
mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty, UriKind.
Relative
) : this.httpHelpPageUrl);
188
mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty, UriKind.
Relative
) : this.httpsHelpPageUrl);
194
Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.
Relative
) : url);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
24
static readonly Uri emptyUri = new Uri(String.Empty, UriKind.
Relative
);
235
Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.
Relative
) : url);
254
mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty, UriKind.
Relative
) : this.httpGetUrl);
255
mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty, UriKind.
Relative
) : this.httpsGetUrl);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
27
static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.
Relative
);
System\ServiceModel\ServiceHost.cs (1)
435
Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.
Relative
), endpoint.Binding);
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
144
Uri controlEndpointAddress = ServiceHost.GetVia(controlEndpointBinding.Scheme, new Uri(ControlEndpointAddress, UriKind.
Relative
), workflowServiceHost.InternalBaseAddresses);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
29
new EndpointAddress(new Uri(WorkflowControlEndpoint.DefaultBaseUri, new Uri(Guid.NewGuid().ToString(), UriKind.
Relative
))))
System.Xml (2)
System\Xml\Resolvers\XmlPreloadedResolver.cs (2)
185
return new Uri(relativeUri, UriKind.
Relative
);
193
return new Uri(relativeUri, UriKind.
Relative
);
WindowsBase (17)
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
822
return PackUriHelper.CreatePartUri(new Uri(propertyPartName, UriKind.
Relative
));
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
332
Uri partUri = new Uri(ZipPackage.GetOpcNameFromZipItemName(parseResults.PrefixName), UriKind.
Relative
);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
616
uri = PackUriHelper.ValidatePartUri(new Uri(attrValue.Substring(0, index), UriKind.
Relative
));
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
573
CertificatePart.PartNamePrefix + exSigner.SerialNumber + CertificatePart.PartNameExtension, UriKind.
Relative
));
1267
Guid.NewGuid().ToString(_guidStorageFormatString, (IFormatProvider)null) + _defaultSignaturePartNameExtension, UriKind.
Relative
));
1403
private static Uri _defaultOriginPartName = PackUriHelper.CreatePartUri(new Uri("/package/services/digital-signature/origin.psdsor", UriKind.
Relative
));
Base\System\IO\Packaging\PackageRelationship.cs (1)
276
private static readonly Uri _containerRelationshipPartName = PackUriHelper.CreatePartUri(new Uri("/_rels/.rels", UriKind.
Relative
));
Base\System\IO\Packaging\PackUriHelper.cs (6)
284
return new Uri(resolvedUri.AbsolutePath, UriKind.
Relative
);
927
safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.
Relative
);
933
UriComponents.KeepDelimiter, UriFormat.SafeUnescaped), UriKind.
Relative
);
994
return ValidatePartUri(new Uri(partName, UriKind.
Relative
));
1011
private static readonly Uri _packageRootUri = new Uri("/", UriKind.
Relative
);
1189
: base(partUriString, UriKind.
Relative
)
Base\System\IO\Packaging\ZipPackage.cs (4)
274
Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.
Relative
);
304
Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.
Relative
);
1343
new Uri(TemporaryPartNameWithoutExtension + extensionAttributeValue, UriKind.
Relative
));
1371
PackUriHelper.ValidatedPartUri partUri = PackUriHelper.ValidatePartUri(new Uri(partNameAttributeValue, UriKind.
Relative
));