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

◆ ValidateTimeZoneShortHandValue()

void System.Net.Mime.SmtpDateTime.ValidateTimeZoneShortHandValue ( string value)
inlinepackage

Definition at line 103 of file SmtpDateTime.cs.

104 {
105 for (int i = 0; i < value.Length; i++)
106 {
107 if (!char.IsLetter(value, i))
108 {
109 throw new FormatException(System.SR.Format(System.SR.MailHeaderFieldInvalidCharacter, value));
110 }
111 }
112 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string MailHeaderFieldInvalidCharacter
Definition SR.cs:140
Definition SR.cs:7

References System.SR.Format(), System.SR.MailHeaderFieldInvalidCharacter, and System.value.

Referenced by System.Net.Mime.SmtpDateTime.TryParseTimeZoneString().