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

◆ Add() [4/6]

XmlSchema? System.Xml.Schema.XmlSchemaSet.Add ( string? targetNamespace,
XmlReader schemaDocument )
inline

Definition at line 248 of file XmlSchemaSet.cs.

249 {
250 if (schemaDocument == null)
251 {
252 throw new ArgumentNullException("schemaDocument");
253 }
254 if (targetNamespace != null)
255 {
256 targetNamespace = XmlComplianceUtil.CDataNormalize(targetNamespace);
257 }
259 {
260 XmlSchema schema = null;
261 Uri schemaUri = new Uri(schemaDocument.BaseURI, UriKind.RelativeOrAbsolute);
263 {
264 return schema;
265 }
270 return schema;
271 }
272 }
readonly XmlReaderSettings _readerSettings
XmlSchema ParseSchema(string targetNamespace, XmlReader reader)
void SetDtdProcessing(XmlReader reader)
bool IsSchemaLoaded(Uri schemaUri, string targetNamespace, out XmlSchema schema)
UriKind
Definition UriKind.cs:4

References System.Xml.Schema.XmlSchemaSet._readerSettings, System.Add, System.Xml.XmlComplianceUtil.CDataNormalize(), System.Xml.Dictionary, System.Xml.XmlReaderSettings.DtdProcessing, System.Xml.Schema.XmlSchemaSet.InternalSyncObject, System.Xml.Schema.XmlSchemaSet.IsSchemaLoaded(), System.Xml.Schema.XmlSchemaSet.ParseSchema(), and System.Xml.Schema.XmlSchemaSet.SetDtdProcessing().