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

◆ CompileSchema()

bool System.Xml.Schema.XmlSchema.CompileSchema ( XmlSchemaCollection xsc,
XmlResolver resolver,
SchemaInfo schemaInfo,
string ns,
ValidationEventHandler validationEventHandler,
XmlNameTable nameTable,
bool CompileContentModel )
inlinepackage

Definition at line 558 of file XmlSchema.cs.

559 {
560 lock (this)
561 {
562 SchemaCollectionPreprocessor schemaCollectionPreprocessor = new SchemaCollectionPreprocessor(nameTable, null, validationEventHandler);
564 if (!schemaCollectionPreprocessor.Execute(this, ns, loadExternals: true, xsc))
565 {
566 return false;
567 }
568 SchemaCollectionCompiler schemaCollectionCompiler = new SchemaCollectionCompiler(nameTable, validationEventHandler);
569 _isCompiled = schemaCollectionCompiler.Execute(this, schemaInfo, CompileContentModel);
571 return _isCompiled;
572 }
573 }
void SetIsCompiled(bool isCompiled)
Definition XmlSchema.cs:624

References System.Xml.Schema.XmlSchema._isCompiled, System.Xml.Dictionary, and System.Xml.Schema.XmlSchema.SetIsCompiled().

Referenced by System.Xml.Schema.XmlSchema.Compile(), and System.Xml.Schema.XmlSchema.Compile().