TagHelperChunkGenerator Class

A Microsoft.AspNetCore.Razor.Chunks.Generators.ParentChunkGenerator that is responsible for generating valid Microsoft.AspNetCore.Razor.Chunks.TagHelperChunks.

Namespace
Microsoft.AspNetCore.Razor.Chunks.Generators
Assemblies
  • Microsoft.AspNetCore.Razor

Syntax

public class TagHelperChunkGenerator : ParentChunkGenerator, IParentChunkGenerator
class Microsoft.AspNetCore.Razor.Chunks.Generators.TagHelperChunkGenerator

Constructors

TagHelperChunkGenerator(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>)

Instantiates a new Microsoft.AspNetCore.Razor.Chunks.Generators.TagHelperChunkGenerator.

Arguments:tagHelperDescriptors (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptor>) – Microsoft.AspNetCore.Razor.Compilation.TagHelpers.TagHelperDescriptors associated with the current HTML tag.
public TagHelperChunkGenerator(IEnumerable<TagHelperDescriptor> tagHelperDescriptors)

Methods

GenerateEndParentChunk(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)

Ends the generation of a Microsoft.AspNetCore.Razor.Chunks.TagHelperChunk capturing all previously visited children since the Microsoft.AspNetCore.Razor.Chunks.Generators.TagHelperChunkGenerator.GenerateStartParentChunk(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block,Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext) method was called.

Arguments:
public override void GenerateEndParentChunk(Block target, ChunkGeneratorContext context)
GenerateStartParentChunk(Microsoft.AspNetCore.Razor.Parser.SyntaxTree.Block, Microsoft.AspNetCore.Razor.Chunks.Generators.ChunkGeneratorContext)

Starts the generation of a Microsoft.AspNetCore.Razor.Chunks.TagHelperChunk.

Arguments:
public override void GenerateStartParentChunk(Block target, ChunkGeneratorContext context)