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

◆ PathAndQuery

string System.Uri.PathAndQuery
get

Definition at line 377 of file Uri.cs.

378 {
379 get
380 {
382 {
384 }
385 UriInfo uriInfo = EnsureUriInfo();
386 if (uriInfo.PathAndQuery == null)
387 {
388 string text = GetParts(UriComponents.PathAndQuery, UriFormat.UriEscaped);
389 if (IsDosPath && text[0] == '/')
390 {
391 text = text.Substring(1);
392 }
394 }
395 return uriInfo.PathAndQuery;
396 }
397 }
static string net_uri_NotAbsolute
Definition SR.cs:16
Definition SR.cs:7
bool IsDosPath
Definition Uri.cs:205
bool IsNotAbsoluteUri
Definition Uri.cs:213
UriInfo EnsureUriInfo()
Definition Uri.cs:626
string GetParts(UriComponents uriParts, UriFormat formatAs)
Definition Uri.cs:1828
UriFormat
Definition UriFormat.cs:4

Referenced by System.Net.Http.HttpTelemetry.RequestStart(), and System.Net.HttpWebRequest.TryGetHostUri().