ChunkInheritanceUtility.GetInheritedChunkTreeResults(String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
에 있는 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> 구문 분석된 _ViewImports
ChunkTrees 및 해당 파일 경로의 입니다.
설명
결과 IReadOnlyList<T> 순서가 지정되어 애플리케이션 루트에 가장 가까운 _ViewImport 결과가 먼저 나타나고 페이지에 가장 가까운 _ViewImport 마지막으로 표시됩니다. [ /_ViewImport, /Views/_ViewImport, /Views/Home/_ViewImport ]