Пример #1
0
 /// <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)
 {
 }
Пример #2
0
 /// <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>();
 }
Пример #3
0
 /// <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);
 }