SetBaseTypeChunkMerger Class

A Microsoft.AspNetCore.Mvc.Razor.Directives.IChunkMerger that merges Microsoft.AspNetCore.Razor.Chunks.SetBaseTypeChunk instances.

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

Syntax

public class SetBaseTypeChunkMerger : IChunkMerger
class Microsoft.AspNetCore.Mvc.Razor.Directives.SetBaseTypeChunkMerger

Constructors

SetBaseTypeChunkMerger(System.String)

Initializes a new instance of Microsoft.AspNetCore.Mvc.Razor.Directives.SetBaseTypeChunkMerger.

Arguments:modelType (System.String) – The type name of the model used by default.
public SetBaseTypeChunkMerger(string modelType)

Methods

MergeInheritedChunks(Microsoft.AspNetCore.Razor.Chunks.ChunkTree, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Razor.Chunks.Chunk>)
public void MergeInheritedChunks(ChunkTree chunkTree, IReadOnlyList<Chunk> inheritedChunks)
VisitChunk(Microsoft.AspNetCore.Razor.Chunks.Chunk)
public void VisitChunk(Chunk chunk)