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

◆ ParseYesNoAttribute()

TriState System.Xml.Xsl.Xslt.XsltLoader.ParseYesNoAttribute ( int attNum,
string attName )
inlineprivate

Definition at line 2212 of file XsltLoader.cs.

2213 {
2215 {
2216 string value = _input.Value;
2217 if (value == "yes")
2218 {
2219 return TriState.True;
2220 }
2221 if (value == "no")
2222 {
2223 return TriState.False;
2224 }
2226 {
2228 }
2229 }
2230 return TriState.Unknown;
2231 }
static string Xslt_BistateAttribute
Definition SR.cs:1886
Definition SR.cs:7
bool MoveToXsltAttribute(int attNum, string attName)
Definition XsltInput.cs:681
void ReportError(string res, params string[] args)

References System.Xml.Xsl.Xslt.XsltLoader._input, System.Xml.Xsl.Xslt.XsltInput.ForwardCompatibility, System.Xml.Xsl.Xslt.XsltInput.MoveToXsltAttribute(), System.Xml.Xsl.Xslt.XsltLoader.ReportError(), System.value, System.Xml.Xsl.Xslt.XsltInput.Value, and System.SR.Xslt_BistateAttribute.

Referenced by System.Xml.Xsl.Xslt.XsltLoader.LoadOutput(), System.Xml.Xsl.Xslt.XsltLoader.XslCopy(), System.Xml.Xsl.Xslt.XsltLoader.XslCopyOf(), System.Xml.Xsl.Xslt.XsltLoader.XslElement(), System.Xml.Xsl.Xslt.XsltLoader.XslMessage(), System.Xml.Xsl.Xslt.XsltLoader.XslSort(), System.Xml.Xsl.Xslt.XsltLoader.XslText(), System.Xml.Xsl.Xslt.XsltLoader.XslValueOf(), and System.Xml.Xsl.Xslt.XsltLoader.XslVarPar().