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

◆ GetResult()

string System.Xml.Xsl.Runtime.StringConcat.GetResult ( )
inline

Definition at line 52 of file StringConcat.cs.

53 {
54 return _idxStr switch
55 {
56 0 => string.Empty,
57 1 => _s1 ?? string.Empty,
58 2 => _s1 + _s2,
59 3 => _s1 + _s2 + _s3,
60 4 => _s1 + _s2 + _s3 + _s4,
61 _ => string.Concat(_strList.ToArray()),
62 };
63 }

References System.Xml.Xsl.Runtime.StringConcat._idxStr, System.Xml.Xsl.Runtime.StringConcat._s1, System.Xml.Xsl.Runtime.StringConcat._s2, System.Xml.Xsl.Runtime.StringConcat._s3, System.Xml.Xsl.Runtime.StringConcat._s4, System.Xml.Xsl.Runtime.StringConcat._strList, and System.Collections.Generic.List< T >.ToArray().

Referenced by System.Xml.XmlEventCache.EventsToString(), System.Xml.XmlEventCache.EventsToWriter(), System.Xml.XmlEventCache.NewEvent(), System.Xml.Xsl.Xslt.XsltInput.ReadAttribute(), System.Xml.Xsl.Runtime.XmlQueryOutput.WriteEndComment(), System.Xml.Xsl.Runtime.XmlQueryOutput.WriteEndNamespace(), and System.Xml.Xsl.Runtime.XmlQueryOutput.WriteEndProcessingInstruction().