Compartilhar via


TagHelperChunk Construtor

Definição

Cria a instância de um novo TagHelperChunk.

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

Parâmetros

tagName
String

O nome da marca associado ao elemento HTML auxiliares de marca.

tagMode
TagMode

Sintaxe HTML do elemento na origem Razor.

attributes
IList<TagHelperAttributeTracker>

Os atributos associados ao elemento HTML auxiliares de marca.

descriptors
IEnumerable<TagHelperDescriptor>

Os TagHelperDescriptors associados a esse elemento HTML auxiliares de marca.

Aplica-se a