IChunkMerger Interface

Summary

Defines the contract for merging @!:Chunk- instances from _ViewStart files.

Syntax

public interface IChunkMerger

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.Razor.Directives.IChunkMerger

Methods

Merge(ChunkTree, Chunk)

Merges an inherited @!:Chunk- into the @!:ChunkTree-.

Arguments:
  • chunkTree (ChunkTree) –
  • chunk (Chunk) – The @!:Chunk- to merge.
void Merge(ChunkTree chunkTree, Chunk chunk)
VisitChunk(Chunk)

Visits a @!:Chunk- from the @!:ChunkTree- to merge into.

Arguments:
  • chunk (Chunk) – A @!:Chunk- from the tree.
void VisitChunk(Chunk chunk)