コード例 #1
0
 public static HTMLBuilder <X, Y> Autocomplete <X, Y>(this HTMLBuilder <X, Y> builder, bool autocomplete)
     where X : Tag, SupportAutocompleteAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddAutocomplete(autocomplete);
     return(builder);
 }
コード例 #2
0
 public static HTMLBuilder <X, Y> Accept <X, Y>(this HTMLBuilder <X, Y> builder, string fileType)
     where X : Input
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddAccept(fileType);
     return(builder);
 }
コード例 #3
0
 public static HTMLBuilder <X, Y> Cols <X, Y>(this HTMLBuilder <X, Y> builder, int cols)
     where X : Textarea
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddCols(cols);
     return(builder);
 }
コード例 #4
0
 public static HTMLBuilder <X, Y> Width <X, Y>(this HTMLBuilder <X, Y> builder, int width)
     where X : Tag, SupportWidthAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddWidth(width);
     return(builder);
 }
コード例 #5
0
 public static HTMLBuilder <X, Y> Charset <X, Y>(this HTMLBuilder <X, Y> builder, Charset charset)
     where X : Tag, SupportCharsetAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddCharset(charset);
     return(builder);
 }
コード例 #6
0
 public static HTMLBuilder <X, Y> Type <X, Y>(this HTMLBuilder <X, Y> builder, string type)
     where X : Tag, SupportMIMETypeAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddType(type);
     return(builder);
 }
コード例 #7
0
 public static HTMLBuilder <X, Y> Usemap <X, Y>(this HTMLBuilder <X, Y> builder, string id)
     where X : Tag, SupportUsemapAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddUsemap(id);
     return(builder);
 }
コード例 #8
0
 public static HTMLBuilder <X, Y> Rowspan <X, Y>(this HTMLBuilder <X, Y> builder, int rowspan)
     where X : Tag, SupportRowspanAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddRowspan(rowspan);
     return(builder);
 }
コード例 #9
0
 public static HTMLBuilder <X, Y> Sandbox <X, Y>(this HTMLBuilder <X, Y> builder, params Sandbox[] sandbox)
     where X : Iframe
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddSandbox(sandbox);
     return(builder);
 }
コード例 #10
0
 public static HTMLBuilder <X, Y> Reversed <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Ol
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddReversed();
     return(builder);
 }
コード例 #11
0
 public static HTMLBuilder <X, Y> Rows <X, Y>(this HTMLBuilder <X, Y> builder, int rows)
     where X : Textarea
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddRows(rows);
     return(builder);
 }
コード例 #12
0
 public static HTMLBuilder <X, Y> Required <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag, SupportRequiredAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddRequired();
     return(builder);
 }
コード例 #13
0
 public static HTMLBuilder <X, Y> Rel <X, Y>(this HTMLBuilder <X, Y> builder, LinkRel rel)
     where X : Link
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddRel(rel);
     return(builder);
 }
コード例 #14
0
 public static HTMLBuilder <X, Y> Rel <X, Y>(this HTMLBuilder <X, Y> builder, Rel rel)
     where X : Tag, SupportRelAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddRel(rel);
     return(builder);
 }
コード例 #15
0
 public static HTMLBuilder <X, Y> Step <X, Y>(this HTMLBuilder <X, Y> builder, int step)
     where X : Input
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddStep(step);
     return(builder);
 }
コード例 #16
0
 public static HTMLBuilder <X, Y> Scope <X, Y>(this HTMLBuilder <X, Y> builder, Scope scope)
     where X : Th
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddScope(scope);
     return(builder);
 }
コード例 #17
0
 public static HTMLBuilder <X, Y> Target <X, Y>(this HTMLBuilder <X, Y> builder, Target target)
     where X : Tag, SupportTargetAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddTarget(target);
     return(builder);
 }
コード例 #18
0
 public static HTMLBuilder <X, Y> Selected <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Option
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddSelected();
     return(builder);
 }
コード例 #19
0
 public static HTMLBuilder <X, Y> Autoplay <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Tag, SupportAutoplayAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddAutoplay();
     return(builder);
 }
コード例 #20
0
 public static HTMLBuilder <X, Y> Shape <X, Y>(this HTMLBuilder <X, Y> builder, Shape shape)
     where X : Area
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddShape(shape);
     return(builder);
 }
コード例 #21
0
 public static HTMLBuilder <X, Y> Value <X, Y>(this HTMLBuilder <X, Y> builder, string value)
     where X : Tag, SupportStringValueAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddValue(value);
     return(builder);
 }
コード例 #22
0
 public static HTMLBuilder <X, Y> Size <X, Y>(this HTMLBuilder <X, Y> builder, int size)
     where X : Tag, SupportSizeAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddSize(size);
     return(builder);
 }
コード例 #23
0
 public static HTMLBuilder <X, Y> Wrap <X, Y>(this HTMLBuilder <X, Y> builder, Wrap wrap)
     where X : Textarea
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddWrap(wrap);
     return(builder);
 }
コード例 #24
0
 public static HTMLBuilder <X, Y> Srcset <X, Y>(this HTMLBuilder <X, Y> builder, string src)
     where X : Tag, SupportSrcsetAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddSrcset(src);
     return(builder);
 }
コード例 #25
0
 public static HTMLBuilder <X, Y> Checked <X, Y>(this HTMLBuilder <X, Y> builder)
     where X : Input
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddChecked();
     return(builder);
 }
コード例 #26
0
 public static HTMLBuilder <X, Y> Srcdoc <X, Y>(this HTMLBuilder <X, Y> builder, string srcdoc)
     where X : Iframe
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddSrcdoc(srcdoc);
     return(builder);
 }
コード例 #27
0
 public static HTMLBuilder <X, Y> Cite <X, Y>(this HTMLBuilder <X, Y> builder, string cite)
     where X : Tag, SupportCiteAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddCite(cite);
     return(builder);
 }
コード例 #28
0
 public static HTMLBuilder <X, Y> Start <X, Y>(this HTMLBuilder <X, Y> builder, int start)
     where X : Ol
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddStart(start);
     return(builder);
 }
コード例 #29
0
 public static HTMLBuilder <X, Y> Colspan <X, Y>(this HTMLBuilder <X, Y> builder, int colspan)
     where X : Tag, SupportColspanAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddColspan(colspan);
     return(builder);
 }
コード例 #30
0
 public static HTMLBuilder <X, Y> Preload <X, Y>(this HTMLBuilder <X, Y> builder, Preload preload)
     where X : Tag, SupportPreloadAttribute
     where Y : HTMLBuilder
 {
     builder.CurrentTag.AddPreload(preload);
     return(builder);
 }