Eighty

Class TagBuilder

Represents a "half-open" HTML tag which is waiting for its children.

Inheritance
Implements
Declaration
public sealed class TagBuilder : ValueType

Methods

_(Html)

Add children to the tag.

Declaration
public Html _(Html child1)
Parameters
Type Name Description

Html

child1

Returns
Type Description

Html

An instance of Html

_(Html, Html)

Add children to the tag.

Declaration
public Html _(Html child1, Html child2)
Parameters
Type Name Description

Html

child1

Html

child2

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Html

child4

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Html

child4

Html

child5

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Html

child4

Html

child5

Html

child6

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Html

child4

Html

child5

Html

child6

Html

child7

Returns
Type Description

Html

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

Html

child1

Html

child2

Html

child3

Html

child4

Html

child5

Html

child6

Html

child7

Html

child8

Returns
Type Description

Html

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

Html

An instance of Html.

_(IEnumerable<Html>)

Add children to the tag.

Declaration
public Html _(IEnumerable<Html> children)
Parameters
Type Name Description

IEnumerable<Html>

children

The child elements.

Returns
Type Description

Html

An instance of Html.

_(List<Html>)

Add children to the tag.

Declaration
public Html _(List<Html> children)
Parameters
Type Name Description

List<Html>

children

The child elements.

Returns
Type Description

Html

An instance of Html.

_(ImmutableArray<Html>)

Add children to the tag.

Declaration
public Html _(ImmutableArray<Html> children)
Parameters
Type Name Description

ImmutableArray<Html>

children

The child elements.

Returns
Type Description

Html

An instance of Html.

_(ImmutableList<Html>)

Add children to the tag.

Declaration
public Html _(ImmutableList<Html> children)
Parameters
Type Name Description

ImmutableList<Html>

children

The child elements.

Returns
Type Description

Html

An instance of Html.

Equals(TagBuilder)

Declaration
public bool Equals(TagBuilder tagBuilder)
Parameters
Type Name Description

TagBuilder

tagBuilder

Returns
Type Description

Boolean

Equals(Object)

Declaration
public override bool Equals(object other)
Parameters
Type Name Description

Object

other

Returns
Type Description

Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description

Int32

Implements

System.IEquatable<T>