Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ToString()

override string System.Uri.ToString ( )
inline

Definition at line 1119 of file Uri.cs.

1120 {
1121 if (_syntax == null)
1122 {
1123 return _string;
1124 }
1125 EnsureUriInfo();
1126 if (_info.String == null)
1127 {
1128 if (_syntax.IsSimple)
1129 {
1131 }
1132 else
1133 {
1134 _info.String = GetParts(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
1135 }
1136 }
1137 return _info.String;
1138 }
string String
Definition Uri.cs:83
UriParser _syntax
Definition Uri.cs:193
string GetComponentsHelper(UriComponents uriComponents, UriFormat uriFormat)
Definition Uri.cs:4229
UriInfo EnsureUriInfo()
Definition Uri.cs:626
string GetParts(UriComponents uriParts, UriFormat formatAs)
Definition Uri.cs:1828
string _string
Definition Uri.cs:189
UriInfo _info
Definition Uri.cs:197
UriFormat
Definition UriFormat.cs:4

References System.Uri._info, System.Uri._string, System.Uri._syntax, System.Runtime.Serialization.Dictionary, System.Uri.EnsureUriInfo(), System.Uri.GetComponentsHelper(), System.Uri.GetParts(), System.UriParser.IsSimple, and System.Uri.UriInfo.String.

Referenced by System.Net.CredentialKey.CredentialKey(), System.Xml.XmlTextReaderImpl.XmlTextReaderImpl(), System.Xml.XmlTextReaderImpl.XmlTextReaderImpl(), System.Xml.Xsl.XsltOld.ContainerAction.CompileInclude(), System.Xml.Xsl.XsltOld.ContainerAction.CompileTopLevelElements(), System.Xml.XmlReaderSettings.CreateReader(), System.Xml.Xsl.Xslt.XsltLoader.CreateReader(), System.Security.IdentityHelper.GetNormalizedUriHash(), System.Xml.DtdParser.Initialize(), System.Xml.XmlTextReaderImpl.InitStreamInput(), System.Xml.XmlTextReaderImpl.InitStreamInputAsync(), System.Xml.Xsl.Xslt.XsltLoader.LoadImport(), System.Xml.Xsl.Xslt.XsltLoader.LoadInclude(), System.Xml.XmlTextReaderImpl.OpenAndPush(), System.Xml.XmlTextReaderImpl.OpenAndPushAsync(), System.Xml.XmlTextReaderImpl.OpenUrl(), System.Xml.DtdParser.ParseExternalSubset(), System.Xml.DtdParser.ParseExternalSubsetAsync(), System.Xml.XmlTextReaderImpl.PushExternalEntityOrSubset(), System.Xml.XmlTextReaderImpl.PushExternalEntityOrSubsetAsync(), System.Xml.DtdParser.Throw(), System.Xml.DtdParser.Throw(), System.Xml.DtdParser.Throw(), System.Net.Cookie.ToServerString(), and System.Net.Http.HttpRequestMessage.ToString().