Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Validate()
XmlReader
System.Xml.Schema.XmlSchemaAttribute.Validate
(
XmlReader
reader
,
XmlResolver
resolver
,
XmlSchemaSet
schemaSet
,
ValidationEventHandler
valEventHandler
)
inline
package
Definition at line
204
of file
XmlSchemaAttribute.cs
.
205
{
206
if
(
schemaSet
!=
null
)
207
{
208
XmlReaderSettings
xmlReaderSettings
=
new
XmlReaderSettings();
209
xmlReaderSettings.ValidationType
= ValidationType.Schema;
210
xmlReaderSettings.Schemas
=
schemaSet
;
211
xmlReaderSettings.ValidationEventHandler
+=
valEventHandler
;
212
return
new
XsdValidatingReader(reader,
resolver
,
xmlReaderSettings
,
this
);
213
}
214
return
null
;
215
}
System.Xml.ValueHandleType.Dictionary
@ Dictionary
References
System.Xml.Dictionary
.
System
Xml
Schema
XmlSchemaAttribute
Generated by
1.10.0