Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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;
 }