示例#1
0
 public override string ToXmlText()
 {
     return(MessageHelper.ToXmlText(this));
 }
示例#2
0
        public override string ToXmlText()
        {
            var temp = MessageHelper.ToXmlText(this);

            return(string.Format("<{0}>\n{1}\n</{0}>", NodeName, temp));
        }
示例#3
0
 /// <summary>
 /// 将内容转换为xml文本。最终xml为根节点包裹内容文本。
 /// </summary>
 /// <returns></returns>
 public virtual string InnerToXmlText()
 {
     return(MessageHelper.ToXmlText(this, OutProperties));
 }