Ejemplo n.º 1
0
	    /// <summary>
	    /// Append string content to the given buffer.
	    /// </summary>
	    internal override void AppendTextTo(Java.Lang.StringBuffer buffer)
        {
            var text = content as string;
            if (text != null)
            {
                buffer.Append(text);
            }
            else if (content is XNode)
            {
                foreach (var node in Nodes())
                {
                    node.AppendTextTo(buffer);
                }
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Append string content to the given buffer.
 /// </summary>
 internal override void AppendTextTo(Java.Lang.StringBuffer buffer)
 {
     buffer.Append(value);
 }