/// <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); } } }
/// <summary> /// Append string content to the given buffer. /// </summary> internal override void AppendTextTo(Java.Lang.StringBuffer buffer) { buffer.Append(value); }