ViewHierarchyUtility Class

Definition

Contains methods to locate _ViewStart.cshtml and _ViewImports.cshtml

public ref class ViewHierarchyUtility abstract sealed
public static class ViewHierarchyUtility
type ViewHierarchyUtility = class
Public Class ViewHierarchyUtility
Inheritance
ViewHierarchyUtility

Fields

ViewImportsFileName

File name of _ViewImports.cshtml file

Methods

GetViewImportsLocations(String)

Gets the locations for _ViewImportss that are applicable to the specified path.

GetViewStartLocations(String)

Gets the view start locations that are applicable to the specified path.

Applies to