/// <summary> /// Initializes a new instance of the <see cref="TagList" /> class. /// </summary> /// <param name="tagListType">Type of the tag list.</param> /// <param name="collection">The collection.</param> public TagList(TagListType tagListType, IEnumerable <string> collection) { this.InnerList = new List <string>(collection); this.TagListType = tagListType; }
/// <summary> /// Initializes a new instance of the <see cref="TagList" /> class. /// </summary> /// <param name="tagListType">Type of the tag list.</param> /// <param name="capacity">The capacity.</param> public TagList(TagListType tagListType, int capacity) { this.InnerList = new List <string>(capacity); this.TagListType = tagListType; }
/// <summary> /// Initializes a new instance of the <see cref="TagList" /> class. /// </summary> /// <param name="tagListType">Type of the tag list.</param> public TagList(TagListType tagListType) { this.InnerList = new List <string>(); this.TagListType = tagListType; }