/// <summary> /// Create a new comment node. /// </summary> /// <param name="data">The contents of the comment</param> /// <param name="baseUri">base URI</param> public Comment(string data, string baseUri) : base(baseUri) { Attributes.Add(COMMENT_KEY, data); }
/// <summary> /// Get the contents of the comment. /// </summary> /// <returns>Content</returns> public string GetData() { return Attributes.GetValue(COMMENT_KEY); }
protected Node() { _childNodes = new List <Node>(); _attributes = null; }