다음을 통해 공유


ChunkInheritanceUtility.GetInheritedChunkTreeResults(String) 메서드

정의

에 있는 pagePath페이지에 적용할 수 있는 각 _ViewImports 에 대해 구문 분석된 ChunkTrees 및 파일 경로의 순서 IReadOnlyList<T> 를 가져옵니다. 파일 시스템에서 에 가장 pagePath 가까운 의 가 먼저 표시되도록 ChunkTreeChunkTreeResult_ViewImports 목록이 정렬됩니다.

public:
 virtual System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Razor::Directives::ChunkTreeResult ^> ^ GetInheritedChunkTreeResults(System::String ^ pagePath);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult> GetInheritedChunkTreeResults (string pagePath);
abstract member GetInheritedChunkTreeResults : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult>
override this.GetInheritedChunkTreeResults : string -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.Directives.ChunkTreeResult>
Public Overridable Function GetInheritedChunkTreeResults (pagePath As String) As IReadOnlyList(Of ChunkTreeResult)

매개 변수

pagePath
String

상속된 청크를 찾을 페이지의 경로입니다.

반환

IReadOnlyList<T> 구문 분석된 _ViewImportsChunkTrees 및 해당 파일 경로의 입니다.

설명

결과 IReadOnlyList<T> 순서가 지정되어 애플리케이션 루트에 가장 가까운 _ViewImport 결과가 먼저 나타나고 페이지에 가장 가까운 _ViewImport 마지막으로 표시됩니다. [ /_ViewImport, /Views/_ViewImport, /Views/Home/_ViewImport ]

적용 대상