// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Chunks; namespace Microsoft.AspNetCore.Mvc.Razor.Directives { /// /// Defines the contract for merging instances from _ViewStart files. /// public interface IChunkMerger { /// /// Visits a from the to merge into. /// /// A from the tree. void VisitChunk(Chunk chunk); /// /// Merges an inherited into the . /// /// The to merge into. /// The s to merge. void MergeInheritedChunks(ChunkTree chunkTree, IReadOnlyList inheritedChunks); } }