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

◆ CheckTokenizedTypes()

void System.Xml.Schema.XmlSchemaValidator.CheckTokenizedTypes ( XmlSchemaDatatype dtype,
object typedValue,
bool attrValue )
inlineprivate

Definition at line 1902 of file XmlSchemaValidator.cs.

1903 {
1904 if (typedValue == null)
1905 {
1906 return;
1907 }
1908 XmlTokenizedType tokenizedType = dtype.TokenizedType;
1910 {
1911 return;
1912 }
1913 if (dtype.Variety == XmlSchemaDatatypeVariety.List)
1914 {
1915 string[] array = (string[])typedValue;
1916 for (int i = 0; i < array.Length; i++)
1917 {
1918 ProcessTokenizedType(dtype.TokenizedType, array[i], attrValue);
1919 }
1920 }
1921 else
1922 {
1923 ProcessTokenizedType(dtype.TokenizedType, (string)typedValue, attrValue);
1924 }
1925 }
void ProcessTokenizedType(XmlTokenizedType ttype, string name, bool attrValue)

References System.array, and System.Xml.Schema.XmlSchemaValidator.ProcessTokenizedType().

Referenced by System.Xml.Schema.XmlSchemaValidator.GetUnspecifiedDefaultAttributes(), System.Xml.Schema.XmlSchemaValidator.ValidateAtomicValue(), System.Xml.Schema.XmlSchemaValidator.ValidateAtomicValue(), and System.Xml.Schema.XmlSchemaValidator.ValidateAttribute().