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

◆ ParseDtMinLength()

static void System.Xml.Schema.XdrBuilder.ParseDtMinLength ( ref uint cVal,
object obj,
XdrBuilder builder )
inlinestaticprivate

Definition at line 1403 of file XdrBuilder.cs.

1404 {
1405 if (-1 != (int)cVal)
1406 {
1407 builder.SendValidationEvent(System.SR.Sch_DupDtMinLength);
1408 }
1409 if (!ParseInteger((string)obj, ref cVal) || cVal < 0)
1410 {
1411 builder.SendValidationEvent(System.SR.Sch_DtMinLengthInvalid, obj.ToString());
1412 }
1413 }
static string Sch_DtMinLengthInvalid
Definition SR.cs:472
static string Sch_DupDtMinLength
Definition SR.cs:476
Definition SR.cs:7
static bool ParseInteger(string str, ref uint n)

References System.obj, System.Xml.Schema.XdrBuilder.ParseInteger(), System.SR.Sch_DtMinLengthInvalid, and System.SR.Sch_DupDtMinLength.

Referenced by System.Xml.Schema.XdrBuilder.XDR_BuildAttributeType_DtMinLength(), and System.Xml.Schema.XdrBuilder.XDR_BuildElementType_DtMinLength().