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

◆ Segments

string [] System.Uri.Segments
get

Definition at line 399 of file Uri.cs.

400 {
401 get
402 {
404 {
406 }
408 if (privateAbsolutePath.Length == 0)
409 {
410 return Array.Empty<string>();
411 }
413 int num = 0;
414 while (num < privateAbsolutePath.Length)
415 {
416 int num2 = privateAbsolutePath.IndexOf('/', num);
417 if (num2 == -1)
418 {
420 }
421 arrayBuilder.Add(privateAbsolutePath.Substring(num, num2 - num + 1));
422 num = num2 + 1;
423 }
424 return arrayBuilder.ToArray();
425 }
426 }
void Add(TKey key, TValue value)
static string net_uri_NotAbsolute
Definition SR.cs:16
Definition SR.cs:7
string PrivateAbsolutePath
Definition Uri.cs:256
bool IsNotAbsoluteUri
Definition Uri.cs:213

Referenced by System.Net.FtpControlStream.TryUpdateResponseUri().