Struct TagBuilder
Represents a "half-open" HTML tag which is waiting for its children.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Eighty
Assembly: Eighty.dll
Syntax
public struct TagBuilder
Methods
| Improve this Doc View Source_(Html[])
Add children to the tag.
Declaration
public Html _(params Html[] children)
Parameters
Type | Name | Description |
---|---|---|
Html[] | children |
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 |
---|---|---|
System.Collections.Generic.IEnumerable<Html> | children |
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 |
---|---|---|
System.Collections.Generic.List<Html> | children |
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 |
---|---|---|
System.Collections.Immutable.ImmutableArray<Html> | children |
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 |
---|---|---|
System.Collections.Immutable.ImmutableList<Html> | children |
Returns
Type | Description |
---|---|
Html | An instance of Html |