TagHelperChunk Constructor

Definition

Instantiates a new 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))

Parameters

tagName
String

The tag name associated with the tag helpers HTML element.

tagMode
TagMode

HTML syntax of the element in the Razor source.

attributes
IList<TagHelperAttributeTracker>

The attributes associated with the tag helpers HTML element.

descriptors
IEnumerable<TagHelperDescriptor>

The TagHelperDescriptors associated with this tag helpers HTML element.

Applies to