Skip to content

Instantly share code, notes, and snippets.

@RyanABailey
Created June 26, 2015 06:42
Show Gist options
  • Select an option

  • Save RyanABailey/bdeb462f287a350cddff to your computer and use it in GitHub Desktop.

Select an option

Save RyanABailey/bdeb462f287a350cddff to your computer and use it in GitHub Desktop.
Ektron rich text
public partial class rich {
private System.Xml.XmlNode[] anyField;
/// <remarks/>
[System.Xml.Serialization.XmlTextAttribute()]
[System.Xml.Serialization.XmlAnyElementAttribute()]
public System.Xml.XmlNode[] Any {
get {
return this.anyField;
}
set {
this.anyField = value;
}
}
public override string ToString()
{
StringBuilder sb = new StringBuilder();
foreach (XmlNode item in this.anyField)
{
sb.Append(item.OuterXml);
}
return sb.ToString();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment