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

◆ DebugGetXsltValue()

object System.Xml.Xsl.Runtime.XmlQueryRuntime.DebugGetXsltValue ( IList seq)
inline

Definition at line 146 of file XmlQueryRuntime.cs.

147 {
148 if (seq != null && seq.Count == 1)
149 {
151 if (xPathItem != null && !xPathItem.IsNode)
152 {
153 return xPathItem.TypedValue;
154 }
155 if (xPathItem is RtfNavigator)
156 {
157 return ((RtfNavigator)xPathItem).ToNavigator();
158 }
159 }
160 return seq;
161 }

References System.Collections.Generic.Dictionary< TKey, TValue >.Count, and System.Xml.Dictionary.