Метод | Описание | |
---|---|---|
FileSystemViewSourceProvider ( IRootPathProvider rootPathProvider, IConfiguration settings ) : System | ||
LocateView ( string viewName, IEnumerable |
Attemptes to locate the view, specified by the viewName parameter, in the underlaying source.
|
Метод | Описание | |
---|---|---|
GetViewFolder ( string prefix, string viewName ) : string | ||
GetViewName ( string viewName ) : string | ||
GetViewPrefix ( string viewName ) : string | ||
RemoveViewPrefix ( string viewName ) : string |
public FileSystemViewSourceProvider ( IRootPathProvider rootPathProvider, IConfiguration settings ) : System | ||
rootPathProvider | IRootPathProvider | |
settings | IConfiguration | |
Результат | System |
public LocateView ( string viewName, IEnumerable |
||
viewName | string | The name of the view that should be located. |
supportedViewEngineExtensions | IEnumerable |
The supported view engine extensions that the view is allowed to use. |
Результат | Nancy.ViewEngines.ViewLocationResult |