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

◆ operator bool()

static System.Xml.Linq.XAttribute.operator bool ( XAttribute attribute)
inlineexplicitstatic

Definition at line 156 of file XAttribute.cs.

157 {
158 if (attribute == null)
159 {
160 throw new ArgumentNullException("attribute");
161 }
162 return XmlConvert.ToBoolean(attribute.value.ToLowerInvariant());
163 }

References System.Xml.XmlConvert.ToBoolean().