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

◆ ReadElement()

int System.Xml.Xsl.Xslt.XsltInput.ReadElement ( )
inlineprivate

Definition at line 626 of file XsltInput.cs.

627 {
628 _attributesRead = false;
630 _nodeType = XmlNodeType.Element;
632 _ctxInfo = new ContextInfo(this);
633 int num = 1;
635 {
636 do
637 {
639 if (ReadAttribute(ref _records[num]))
640 {
641 num++;
642 }
643 }
646 }
647 _reader.Read();
650 _attributes = null;
651 return num - 1;
652 }
ISourceLineInfo BuildLineInfo()
XsltAttribute[] _attributes
Definition XsltInput.cs:172
readonly XmlReader _reader
Definition XsltInput.cs:140
bool ReadAttribute(ref Record rec)
Definition XsltInput.cs:410
void SetRecordEnd(ref Record rec)
Definition XsltInput.cs:338
void ExtendRecordBuffer(int position)
Definition XsltInput.cs:260
void FillupRecord(ref Record rec)
Definition XsltInput.cs:319

References System.Xml.Xsl.Xslt.XsltInput._attributes, System.Xml.Xsl.Xslt.XsltInput._attributesRead, System.Xml.Xsl.Xslt.XsltInput._ctxInfo, System.Xml.Xsl.Xslt.XsltInput._isEmptyElement, System.Xml.Xsl.Xslt.XsltInput._nodeType, System.Xml.Xsl.Xslt.XsltInput._reader, System.Xml.Xsl.Xslt.XsltInput._records, System.Xml.Xsl.Xslt.XsltInput.BuildLineInfo(), System.Xml.Dictionary, System.Xml.Xsl.Xslt.XsltInput.ExtendRecordBuffer(), System.Xml.Xsl.Xslt.XsltInput.FillupRecord(), System.Xml.XmlReader.IsEmptyElement, System.Xml.XmlReader.MoveToElement(), System.Xml.XmlReader.MoveToFirstAttribute(), System.Xml.XmlReader.MoveToNextAttribute(), System.Xml.XmlReader.Read(), System.Xml.Xsl.Xslt.XsltInput.ReadAttribute(), and System.Xml.Xsl.Xslt.XsltInput.SetRecordEnd().

Referenced by System.Xml.Xsl.Xslt.XsltInput.ReadNextSibling().