Example #1
0
 public IFieldsetTag Legend(string fieldsetLegend)
 {
     var legendTag = new GenericTag("legend", null);
     legendTag.With(builder => builder.Text(fieldsetLegend));
     Children.Add(legendTag);
     return this;
 }
 private GenericTag CreateChildTag(string title)
 {
     var tag = new GenericTag(title, null);
     children.Add(tag);
     return tag;
 }
Example #3
0
 public IBuildableTag CreateChildTag(string name)
 {
     var tag = new GenericTag(name, this);
     Tags.Add(tag);
     return tag;
 }