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

◆ InternalGetComponents()

string System.Uri.InternalGetComponents ( UriComponents components,
UriFormat format )
inlineprivate

Definition at line 3892 of file Uri.cs.

3893 {
3894 if (((uint)components & 0x80000000u) != 0 && components != UriComponents.SerializationInfoString)
3895 {
3896 throw new ArgumentOutOfRangeException("components", components, System.SR.net_uri_NotJustSerialization);
3897 }
3898 if (((uint)format & 0xFFFFFFFCu) != 0)
3899 {
3900 throw new ArgumentOutOfRangeException("format");
3901 }
3902 if (IsNotAbsoluteUri)
3903 {
3904 if (components == UriComponents.SerializationInfoString)
3905 {
3907 }
3909 }
3910 if (Syntax.IsSimple)
3911 {
3913 }
3915 }
static string net_uri_NotAbsolute
Definition SR.cs:16
static string net_uri_NotJustSerialization
Definition SR.cs:52
Definition SR.cs:7
string InternalGetComponents(Uri thisUri, UriComponents uriComponents, UriFormat uriFormat)
Definition UriParser.cs:336
UriParser Syntax
Definition Uri.cs:211
string GetComponentsHelper(UriComponents uriComponents, UriFormat uriFormat)
Definition Uri.cs:4229
bool IsNotAbsoluteUri
Definition Uri.cs:213
string GetRelativeSerializationString(UriFormat format)
Definition Uri.cs:4205

References System.format, System.Uri.GetComponentsHelper(), System.Uri.GetRelativeSerializationString(), System.UriParser.InternalGetComponents(), System.Uri.IsNotAbsoluteUri, System.UriParser.IsSimple, System.SR.net_uri_NotAbsolute, System.SR.net_uri_NotJustSerialization, and System.Uri.Syntax.

Referenced by System.Uri.GetComponents(), and System.Uri.GetParts().