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

◆ InitDocTypeAttr()

void System.Xml.XmlNodeReaderNavigator.InitDocTypeAttr ( )
inlineprivate

Definition at line 419 of file XmlNodeReaderNavigator.cs.

420 {
421 int num = 0;
422 XmlDocumentType documentType = _doc.DocumentType;
423 if (documentType == null)
424 {
426 return;
427 }
428 string publicId = documentType.PublicId;
429 if (publicId != null)
430 {
431 docTypeNodeAttributes[num].name = "PUBLIC";
432 docTypeNodeAttributes[num].value = publicId;
433 num++;
434 }
435 publicId = documentType.SystemId;
436 if (publicId != null)
437 {
438 docTypeNodeAttributes[num].name = "SYSTEM";
439 docTypeNodeAttributes[num].value = publicId;
440 num++;
441 }
442 _nDocTypeAttrCount = num;
443 }
virtual ? XmlDocumentType DocumentType

References System.Xml.XmlNodeReaderNavigator._doc, System.Xml.XmlNodeReaderNavigator._nDocTypeAttrCount, System.Xml.XmlNodeReaderNavigator.docTypeNodeAttributes, System.Xml.XmlDocument.DocumentType, System.Xml.XmlNodeReaderNavigator.VirtualAttribute.name, and System.Xml.XmlNodeReaderNavigator.VirtualAttribute.value.

Referenced by System.Xml.XmlNodeReaderNavigator.GetDocTypeAttrInd(), System.Xml.XmlNodeReaderNavigator.GetDocumentTypeAttr(), and System.Xml.XmlNodeReaderNavigator.MoveToNextAttribute().