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

◆ Validate() [6/6]

static void System.Xml.Schema.Extensions.Validate ( this XElement source,
XmlSchemaObject partialValidationType,
XmlSchemaSet schemas,
ValidationEventHandler? validationEventHandler,
bool addSchemaInfo )
inlinestatic

Definition at line 48 of file Extensions.cs.

49 {
50 if (source == null)
51 {
52 throw new ArgumentNullException("source");
53 }
54 if (partialValidationType == null)
55 {
56 throw new ArgumentNullException("partialValidationType");
57 }
58 if (schemas == null)
59 {
60 throw new ArgumentNullException("schemas");
61 }
62 new XNodeValidator(schemas, validationEventHandler).Validate(source, partialValidationType, addSchemaInfo);
63 }

References System.Xml.Dictionary, System.source, and System.Xml.Schema.XNodeValidator.Validate().