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

◆ SendValidationEvent() [9/9]

void System.Xml.Schema.BaseProcessor.SendValidationEvent ( XmlSchemaException e,
XmlSeverityType severity )
inlineprotectedinherited

Definition at line 244 of file BaseProcessor.cs.

245 {
246 if (severity == XmlSeverityType.Error)
247 {
248 _errorCount++;
249 }
250 if (_eventHandler != null)
251 {
252 _eventHandler(null, new ValidationEventArgs(e, severity));
253 }
254 else if (severity == XmlSeverityType.Error)
255 {
256 throw e;
257 }
258 }
readonly ValidationEventHandler _eventHandler

References System.Xml.Schema.BaseProcessor._errorCount, System.Xml.Schema.BaseProcessor._eventHandler, and System.Xml.Dictionary.