Class TagList
An empty tag just containing more tags - like a TagCustom but explicitly meant to not be a tag itself
Inheritance
System.Object
ToSic.Razor.Markup.ToHtmlHybridBase
TagList
Implements
Microsoft.AspNetCore.Html.IHtmlContent
System.Collections.Generic.IEnumerable<ITag>
System.Collections.IEnumerable
Inherited Members
Namespace: ToSic.Razor.Markup
Assembly: ToSic.Razor.dll
Syntax
public class TagList : TagCustom, IHtmlContent, ITag, IEnumerable<ITag>, IEnumerable
Constructors
| Improve this Doc View SourceTagList(Object, TagOptions)
Declaration
public TagList(object content, TagOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | content | |
TagOptions | options |
TagList(TagOptions)
Declaration
public TagList(TagOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
TagOptions | options |
TagList(TagOptions, Object[])
Declaration
public TagList(TagOptions options, object[] content)
Parameters
Type | Name | Description |
---|---|---|
TagOptions | options | |
System.Object[] | content |
Implements
Microsoft.AspNetCore.Html.IHtmlContent
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable