Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.RhoElement

Summary

Encapsulates an element node in a RhoML tree.

Constructors

Constructor.
RhoElement(string name, string value = null)
RhoElement(string name, string value, IDictionary<string, string> attributes, List<RhoNode> elements)

Instance methods

void
AppendTo(StringBuilder builder)
Appends this node and all children to the specified string builder, converting them to RhoML format that would parse back into this tree.
string
  • Inherited from RhoNode
  • Overrides: object.ToString()
Converts this node to a RhoML string.

Instance properties

IDictionary<string, string> Gets or sets a dictionary of attributes. Not null. There is a key for each named attribute specified on the element. Attributes whose value was omitted will have the value of null in this dictionary.
IList<RhoNode> Gets or sets a read-only list of child elements. Not null. May be empty, or contain any RhoNode instance in any order.
IEnumerable<RhoNode>Enumerates all descendants of this node, in an unspecified order.
stringGets or sets the name of the element. Null for the root element, otherwise non-null.
stringGets or sets the value of the default attribute. Null if the default attribute was omitted.