/// <summary>Calls base class supporting tag name</summary> /// <param name="name">Name of the tag</param> /// <param name="emptinessType">Type of emptyness of the tag</param> protected IndexedTag(string name, EmptinessType emptinessType = EmptinessType.StandardTag) : base(name, emptinessType) { }
/// <summary>Creates new tag out of hierarchy</summary> /// <param name="name">Name of the tag</param> /// <param name="emptinessType">Type of emptyness of the tag</param> protected TreeLeafTag(string name, EmptinessType emptinessType = EmptinessType.EmptyTag) { TagName = name; EmptinessType = emptinessType; Attributes = new Dictionary <string, TagAttribute>(); }
/// <summary>Default constructor, creates empty Children list and calls base constructor</summary> /// <param name="name">Name of the tag</param> /// <param name="emptinessType">Type of emptyness of the tag</param> protected TreeNodeTag(string name, EmptinessType emptinessType) : base(name, emptinessType) { Children = new TagList(this); }