TagHelperBlockBuilder Constructors

Definition

Overloads

TagHelperBlockBuilder(TagHelperBlock)

Instantiates a new TagHelperBlockBuilder instance based on the given original.

TagHelperBlockBuilder(String, TagMode, SourceLocation, IList<TagHelperAttributeNode>, IEnumerable<TagHelperDescriptor>)

Instantiates a new instance of the TagHelperBlockBuilder class with the provided values.

TagHelperBlockBuilder(TagHelperBlock)

Instantiates a new TagHelperBlockBuilder instance based on the given original.

public:
 TagHelperBlockBuilder(Microsoft::AspNetCore::Razor::Parser::TagHelpers::TagHelperBlock ^ original);
public TagHelperBlockBuilder (Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlock original);
new Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlockBuilder : Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlock -> Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlockBuilder
Public Sub New (original As TagHelperBlock)

Parameters

original
TagHelperBlock

The original TagHelperBlock to copy data from.

Applies to

TagHelperBlockBuilder(String, TagMode, SourceLocation, IList<TagHelperAttributeNode>, IEnumerable<TagHelperDescriptor>)

Instantiates a new instance of the TagHelperBlockBuilder class with the provided values.

public:
 TagHelperBlockBuilder(System::String ^ tagName, Microsoft::AspNetCore::Razor::TagHelpers::TagMode tagMode, Microsoft::AspNetCore::Razor::SourceLocation start, System::Collections::Generic::IList<Microsoft::AspNetCore::Razor::Parser::TagHelpers::TagHelperAttributeNode ^> ^ attributes, System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Razor::Compilation::TagHelpers::TagHelperDescriptor ^> ^ descriptors);
public TagHelperBlockBuilder (string tagName, Microsoft.AspNetCore.Razor.TagHelpers.TagMode tagMode, Microsoft.AspNetCore.Razor.SourceLocation start, System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperAttributeNode> attributes, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> descriptors);
new Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlockBuilder : string * Microsoft.AspNetCore.Razor.TagHelpers.TagMode * Microsoft.AspNetCore.Razor.SourceLocation * System.Collections.Generic.IList<Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperAttributeNode> * seq<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor> -> Microsoft.AspNetCore.Razor.Parser.TagHelpers.TagHelperBlockBuilder
Public Sub New (tagName As String, tagMode As TagMode, start As SourceLocation, attributes As IList(Of TagHelperAttributeNode), descriptors As IEnumerable(Of TagHelperDescriptor))

Parameters

tagName
String

An HTML tag name.

tagMode
TagMode

HTML syntax of the element in the Razor source.

start
SourceLocation

Starting location of the TagHelperBlock.

attributes
IList<TagHelperAttributeNode>

Attributes of the TagHelperBlock.

descriptors
IEnumerable<TagHelperDescriptor>

The TagHelperDescriptors associated with the current HTML tag.

Applies to