87 references to GetComponents
PresentationBuildTasks (4)
Framework\System\Windows\Markup\ParserContext.cs (2)
482
string serializedSafe = parserContext.BaseUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped);
484
string cannonicalString = sameUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61
string basePath = baseUri.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped);
62
string sourcePath = sourceUri.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped);
PresentationCore (17)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (5)
446
_windowsFontsUriString = _windowsFontsUriObject.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
656
string fragment = fontUri.
GetComponents
(UriComponents.Fragment, UriFormat.SafeUnescaped);
670
fontSourceUri = new Uri(fontUri.
GetComponents
(Util.UriWithoutFragment, UriFormat.SafeUnescaped));
687
string canonicalPathUri = new Uri(fontUri).
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
755
string unescapedPath = uri.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
104
string path = uri.
GetComponents
(UriComponents.Path, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
120
return _fontUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (1)
220
streamUri.
GetComponents
(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped));
Core\CSharp\System\Windows\Media\Color.cs (2)
308
Uri safeUnescapedUri = new Uri(context.ProfileUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
311
String uriString = safeUnescapedUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
Core\CSharp\System\Windows\Media\Fonts.cs (1)
114
location = fontLocation.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (4)
182
PackUriHelper.GetPackageUri(uri).
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped),
218
Debug.Assert(String.Compare(partName, uri.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped), StringComparison.OrdinalIgnoreCase) == 0);
396
if (String.Compare(packageUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped), _packageSiteOfOriginBaseUriEscaped, StringComparison.OrdinalIgnoreCase) == 0)
398
return (new Uri(sUri.
GetComponents
(UriComponents.SchemeAndServer, UriFormat.UriEscaped))).MakeRelativeUri(sUri);
Shared\MS\Utility\BindUriHelper.cs (2)
68
uri.
GetComponents
(
176
referer = sourceUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
PresentationFramework (5)
src\Framework\System\Windows\Markup\ParserContext.cs (2)
482
string serializedSafe = parserContext.BaseUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped);
484
string cannonicalString = sameUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
src\Framework\System\Windows\Markup\XamlParseException.cs (1)
300
bamlFilePath = resourceUri.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
src\Shared\MS\Utility\BindUriHelper.cs (2)
68
uri.
GetComponents
(
176
referer = sourceUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
System (20)
net\System\Net\_AuthenticationManagerBase.cs (1)
230
string completeUri = location.
GetComponents
(UriComponents.AbsoluteUri
net\System\Net\_FtpControlStream.cs (1)
781
path = uri.
GetComponents
(UriComponents.Path,UriFormat.Unescaped);
net\System\Net\DNS.cs (1)
637
result = uri.
GetComponents
(UriComponents.NormalizedHost, UriFormat.SafeUnescaped);
net\System\Net\HttpWebRequest.cs (5)
4784
string scheme = _Uri.
GetComponents
(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped);
4786
string path = _Uri.
GetComponents
(UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped);
4809
string scheme = _Uri.
GetComponents
(UriComponents.Scheme | UriComponents.KeepDelimiter, UriFormat.UriEscaped);
4810
string userInfo = _Uri.
GetComponents
(UriComponents.UserInfo | UriComponents.KeepDelimiter, UriFormat.UriEscaped);
4812
string path = _Uri.
GetComponents
(UriComponents.Path | UriComponents.Query, UriFormat.UriEscaped);
net\System\Net\WebPermission.cs (9)
275
m_connectList[i] is Uri? (object)((Uri)m_connectList[i]).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) :
298
m_acceptList[i] is Uri? (object)((Uri)m_acceptList[i]).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) :
635
if (String.Compare(regexToCheck, Regex.Escape(uri.
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped)), StringComparison.OrdinalIgnoreCase ) == 0)
922
tempStr=Regex.Escape(uri.
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped));
954
tempStr=Regex.Escape(uri.
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped));
999
string s = stringUri != null? stringUri: ((Uri)uriToCheck).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped);
1012
s = ((Uri)uriToCheck).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped);
1133
string uriString = isUri? ((Uri)R).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): R.ToString();
1145
string uriString = isUri? ((Uri)L).
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): L.ToString();
net\System\Net\WebRequest.cs (1)
387
&& tempUri.
GetComponents
(UriComponents.PathAndQuery | UriComponents.Fragment,
net\System\URI.cs (1)
2703
return
GetComponents
(uriParts, formatAs);
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
178
string normalizedHost = constructedUri.
GetComponents
(
System.Data.Services (2)
parent\Client\System\Data\Services\Client\XmlUtil.cs (1)
65
string unescaped = uri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Data\Services\RequestUriProcessor.cs (1)
275
return uri.
GetComponents
(UriComponents.HttpRequestUrl, UriFormat.UriEscaped);
System.Data.Services.Client (2)
System\Data\Services\Client\DataServiceContext.cs (1)
3561
.
GetComponents
(UriComponents.Query | UriComponents.Fragment, UriFormat.SafeUnescaped)))
System\Data\Services\Client\XmlUtil.cs (1)
65
string unescaped = uri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System.Runtime.Serialization (2)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
728
this.value = uri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
651
writer.WriteString(value.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System.ServiceModel (11)
System\ServiceModel\Channels\BaseUriWithWildcard.cs (3)
257
string s1 = baseAddress.
GetComponents
(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped);
258
string s2 = fullAddress.
GetComponents
(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped);
316
this.comparand.Address = this.baseAddress.
GetComponents
(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.UriEscaped);
System\ServiceModel\Channels\HttpChannelHelpers.cs (1)
3401
result = uri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
539
string path = ListenUri.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
System\ServiceModel\Channels\UriHelper.cs (2)
11
return uri.
GetComponents
(UriComponents.NormalizedHost, UriFormat.UriEscaped);
16
return uri.
GetComponents
(UriComponents.AbsoluteUri | UriComponents.NormalizedHost, UriFormat.UriEscaped);
System\ServiceModel\EndpointAddress.cs (3)
385
string u1Path = u1.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
386
string u2Path = u2.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
416
string uriString = uri.
GetComponents
(components, UriFormat.Unescaped);
System\UriTemplateHelpers.cs (1)
137
return uri.
GetComponents
(UriComponents.Path | UriComponents.KeepDelimiter, UriFormat.Unescaped);
System.ServiceModel.Discovery (9)
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
192
this.SequenceId.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System\ServiceModel\Discovery\ScopeCompiler.cs (5)
170
string scheme = scope.
GetComponents
(UriComponents.Scheme, UriFormat.UriEscaped);
186
string authority = scope.
GetComponents
(UriComponents.StrongAuthority, UriFormat.UriEscaped);
242
guidString = scope.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped);
295
string hostport = scope.
GetComponents
(UriComponents.HostAndPort, UriFormat.UriEscaped);
315
string dn = scope.
GetComponents
(UriComponents.Path, UriFormat.Unescaped);
System\ServiceModel\Discovery\SerializationUtility.cs (3)
194
writer.WriteString(uris[i].
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
198
writer.WriteString(uris[uris.Count - 1].
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
449
versionDependentScopeMatchBy.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped));
System.Web.Extensions (1)
Script\Serialization\JavaScriptSerializer.cs (1)
204
sb.Append("\"").Append(uri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped)).Append("\"");
System.Web.Services (2)
System\Web\Services\Discovery\DiscoveryReference.cs (1)
173
return (new Uri(new Uri(baseUrl), relUrl)).
GetComponents
(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Web\Services\Protocols\RuntimeUtils.cs (1)
95
return uri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped).Replace("#", "%23");
WindowsBase (12)
Base\System\IO\FileFormatException.cs (1)
164
: sourceUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
Base\System\IO\Packaging\PackUriHelper.cs (9)
121
string absolutePackageUri = packageUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped);
149
packUri = new Uri(String.Concat(packUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped), fragment));
155
return new Uri(packUri.
GetComponents
(UriComponents.AbsoluteUri, UriFormat.UriEscaped));
231
string serializedPartUri = partUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped);
809
new Uri(_defaultUri, partName).
GetComponents
(UriComponents.Path |
927
safeUnescapedUri = new Uri(partUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative);
932
new Uri(partUri.
GetComponents
(UriComponents.Path |
938
String partName = safeUnescapedUri.
GetComponents
(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
970
String hostAndPort = packUri.
GetComponents
(UriComponents.HostAndPort, UriFormat.UriEscaped);
Shared\MS\Internal\ResourceIDHelper.cs (2)
61
string basePath = baseUri.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped);
62
string sourcePath = sourceUri.
GetComponents
(UriComponents.Path, UriFormat.UriEscaped);