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

◆ SetVersion() [2/2]

void System.Xml.Xsl.Xslt.XsltInput.SetVersion ( int attVersion)
inlineprivate

Definition at line 731 of file XsltInput.cs.

732 {
734 double num = XPathConvert.StringToDouble(Value);
735 if (double.IsNaN(num))
736 {
738 num = 1.0;
739 }
740 SetVersion(num);
741 }
static string Xslt_InvalidAttrValue
Definition SR.cs:1884
Definition SR.cs:7
void SetVersion(int attVersion)
Definition XsltInput.cs:731
readonly KeywordsTable _atoms
Definition XsltInput.cs:148
void ReportError(string res, params string[] args)
bool MoveToLiteralAttribute(int attNum)
Definition XsltInput.cs:670

References System.Xml.Xsl.Xslt.XsltInput._atoms, System.Xml.Xsl.Xslt.XsltInput.MoveToLiteralAttribute(), System.Xml.Xsl.Xslt.XsltInput.ReportError(), System.Xml.Xsl.Xslt.XsltInput.SetVersion(), System.Xml.Xsl.XPathConvert.StringToDouble(), System.Xml.Xsl.Xslt.XsltInput.Value, System.Xml.Xsl.Xslt.KeywordsTable.Version, and System.SR.Xslt_InvalidAttrValue.

Referenced by System.Xml.Xsl.Xslt.XsltInput.GetAttributes(), System.Xml.Xsl.Xslt.XsltInput.GetLiteralAttributes(), System.Xml.Xsl.Xslt.XsltInput.GetVersionAttribute(), and System.Xml.Xsl.Xslt.XsltInput.SetVersion().