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

◆ GetYesNo()

bool System.Xml.Xsl.XsltOld.Compiler.GetYesNo ( string value)
inlinepackage

Definition at line 389 of file Compiler.cs.

390 {
391 if (value == "yes")
392 {
393 return true;
394 }
395 if (value == "no")
396 {
397 return false;
398 }
399 throw XsltException.Create(System.SR.Xslt_InvalidAttrValue, Input.LocalName, value);
400 }
static string Xslt_InvalidAttrValue
Definition SR.cs:1884
Definition SR.cs:7

References System.Xml.Xsl.XsltException.Create(), System.value, and System.SR.Xslt_InvalidAttrValue.