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