Class TagBuilder
Represents a "half-open" HTML tag which is waiting for its children.
Inheritance
- Object
- TagBuilder
Implements
Declaration
public sealed class TagBuilder : ValueType
Methods
_(Html)
Add children to the tag.
Declaration
public Html _(Html child1)
Parameters
Type | Name | Description |
---|---|---|
child1 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3, Html child4)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
||
child4 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3, Html child4, Html child5)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
||
child4 |
||
child5 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html, Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3, Html child4, Html child5, Html child6)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
||
child4 |
||
child5 |
||
child6 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html, Html, Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3, Html child4, Html child5, Html child6, Html child7)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
||
child4 |
||
child5 |
||
child6 |
||
child7 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html, Html, Html, Html, Html, Html, Html, Html)
Add children to the tag.
Declaration
public Html _(Html child1, Html child2, Html child3, Html child4, Html child5, Html child6, Html child7, Html child8)
Parameters
Type | Name | Description |
---|---|---|
child1 |
||
child2 |
||
child3 |
||
child4 |
||
child5 |
||
child6 |
||
child7 |
||
child8 |
Returns
Type | Description |
---|---|
An instance of Html |
_(Html[])
Add children to the tag.
Declaration
public Html _(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] |
children |
The child elements. |
Returns
Type | Description |
---|---|
An instance of Html. |
_(IEnumerable<Html>)
Add children to the tag.
Declaration
public Html _(IEnumerable<Html> children)
Parameters
Type | Name | Description |
---|---|---|
children |
The child elements. |
Returns
Type | Description |
---|---|
An instance of Html. |
_(List<Html>)
Add children to the tag.
Declaration
public Html _(List<Html> children)
Parameters
Type | Name | Description |
---|---|---|
children |
The child elements. |
Returns
Type | Description |
---|---|
An instance of Html. |
_(ImmutableArray<Html>)
Add children to the tag.
Declaration
public Html _(ImmutableArray<Html> children)
Parameters
Type | Name | Description |
---|---|---|
children |
The child elements. |
Returns
Type | Description |
---|---|
An instance of Html. |
_(ImmutableList<Html>)
Add children to the tag.
Declaration
public Html _(ImmutableList<Html> children)
Parameters
Type | Name | Description |
---|---|---|
children |
The child elements. |
Returns
Type | Description |
---|---|
An instance of Html. |
Equals(TagBuilder)
Declaration
public bool Equals(TagBuilder tagBuilder)
Parameters
Type | Name | Description |
---|---|---|
tagBuilder |
Returns
Type | Description |
---|---|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
other |
Returns
Type | Description |
---|---|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|