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

◆ SendValidationEvent() [5/5]

void System.Xml.Schema.XsdBuilder.SendValidationEvent ( XmlSchemaException e,
XmlSeverityType severity )
inlineprivate

Definition at line 2226 of file XsdBuilder.cs.

2227 {
2229 e.SetSchemaObject(_schema);
2230 if (_validationEventHandler != null)
2231 {
2232 _validationEventHandler(null, new ValidationEventArgs(e, severity));
2233 }
2234 else if (severity == XmlSeverityType.Error)
2235 {
2236 throw e;
2237 }
2238 }
readonly XmlSchema _schema
readonly ValidationEventHandler _validationEventHandler

References System.Xml.Schema.XsdBuilder._schema, System.Xml.Schema.XsdBuilder._validationEventHandler, System.Xml.Schema.XmlSchema.ErrorCount, and System.Xml.Schema.XmlSchemaException.SetSchemaObject().