Поделиться через


MvcRazorHost.GetInheritedChunkTreeResults(String) Метод

Определение

Находит и анализирует файлы _ViewImports.cshtml, которые применяются к заданному sourceFileName объекту для создания ChunkTreeResultфайлов.

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

Параметры

sourceFileName
String

Путь к файлу Razor, для _ViewImports.cshtml.

Возвращаемое значение

Унаследованные ChunkTreeResults.

Применяется к