Example #1
0
 public static HTMLBuilder <Section, HTMLBuilder <X, Y> > Section <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Section());
Example #2
0
 public static HTMLBuilder <ExternalScript, HTMLBuilder <X, Y> > ExternalScript <X, Y>(this HTMLBuilder <X, Y> builder, string src)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new ExternalScript(src));
Example #3
0
 public static HTMLBuilder <InlineScript, HTMLBuilder <X, Y> > InlineScript <X, Y>(this HTMLBuilder <X, Y> builder, string scriptSource)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new InlineScript(scriptSource));
Example #4
0
 public static HTMLBuilder <Param, HTMLBuilder <X, Y> > Param <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Param());
Example #5
0
 public static HTMLBuilder <Picture, HTMLBuilder <X, Y> > Picture <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Picture());
Example #6
0
 public static HTMLBuilder <HTMLTags.Object, HTMLBuilder <X, Y> > Object <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new HTMLTags.Object());
Example #7
0
 public static HTMLBuilder <Output, HTMLBuilder <X, Y> > Output <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Output());
Example #8
0
 public static HTMLBuilder <A, HTMLBuilder <X, Y> > A <X, Y>(this HTMLBuilder <X, Y> builder, string href)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new A(href));
Example #9
0
 public static HTMLBuilder <Noscript, HTMLBuilder <X, Y> > Noscript <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Noscript());
Example #10
0
 public static HTMLBuilder <Nav, HTMLBuilder <X, Y> > Nav <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Nav());
Example #11
0
 public static HTMLBuilder <Meter, HTMLBuilder <X, Y> > Meter <X, Y>(this HTMLBuilder <X, Y> builder, double value)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Meter(value));
Example #12
0
 public static HTMLBuilder <Meta, HTMLBuilder <X, Y> > Meta <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag
     where Y : HTMLBuilder
 => HTMLBuilderUtilities.AddTagIfAllowed(builder, new Meta());