Exemplo n.º 1
0
 /// <summary>
 /// Instantiates a new <see cref="TagHelperBlockBuilder"/> instance based on the given
 /// <paramref name="original"/>.
 /// </summary>
 /// <param name="original">The original <see cref="TagHelperBlock"/> to copy data from.</param>
 public TagHelperBlockBuilder(TagHelperBlock original)
     : base(original)
 {
     TagName     = original.TagName;
     Descriptors = original.Descriptors;
     Attributes  = new Dictionary <string, SyntaxTreeNode>(original.Attributes);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiates a new <see cref="TagHelperBlockBuilder"/> instance based on the given
 /// <paramref name="original"/>.
 /// </summary>
 /// <param name="original">The original <see cref="TagHelperBlock"/> to copy data from.</param>
 public TagHelperBlockBuilder(TagHelperBlock original)
     : base(original)
 {
     TagName     = original.TagName;
     Descriptors = original.Descriptors;
     Attributes  = new List <KeyValuePair <string, SyntaxTreeNode> >(original.Attributes);
 }