コード例 #1
0
        public override string BuildLinesWithTag(LanguageTagDict languageTagDict)
        {
            var result = new StringBuilder();

            result.Append(languageTagDict[TypeTag].Start);
            foreach (var childText in ChildNode.Select(child => child.BuildLinesWithTag(languageTagDict))
                     .Where(childText => childText != null))
            {
                result.Append(childText);
            }

            result.Append(languageTagDict[TypeTag].End);
            return(result.ToString());
        }