IChunkMerger Interface

Defines the contract for merging Microsoft.AspNetCore.Razor.Chunks.Chunk instances from _ViewStart files.

Namespace
Microsoft.AspNetCore.Mvc.Razor.Directives
Assemblies
  • Microsoft.AspNetCore.Mvc.Razor.Host

Syntax

public interface IChunkMerger
interface Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkMerger

Methods

MergeInheritedChunks(Microsoft.AspNetCore.Razor.Chunks.ChunkTree, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk>)

Merges an inherited Microsoft.AspNetCore.Razor.Chunks.Chunk into the Microsoft.AspNetCore.Razor.Chunks.ChunkTree.

Arguments:
void MergeInheritedChunks(ChunkTree chunkTree, IReadOnlyList<Chunk> inheritedChunks)
VisitChunk(Microsoft.AspNetCore.Razor.Chunks.Chunk)

Visits a Microsoft.AspNetCore.Razor.Chunks.Chunk from the Microsoft.AspNetCore.Razor.Chunks.ChunkTree to merge into.

Arguments:chunk (Microsoft.AspNetCore.Razor.Chunks.Chunk) – A Microsoft.AspNetCore.Razor.Chunks.Chunk from the tree.
void VisitChunk(Chunk chunk)