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; }
public IBuildableTag CreateChildTag(string name) { var tag = new GenericTag(name, this); Tags.Add(tag); return tag; }