C# Класс Aqueduct.Appia.Core.FileSystemViewSourceProvider

Наследование: IViewSourceProvider
Показать файл Открыть проект

Открытые методы

Метод Описание
FileSystemViewSourceProvider ( IRootPathProvider rootPathProvider, IConfiguration settings ) : System
LocateView ( string viewName, IEnumerable supportedViewEngineExtensions ) : Nancy.ViewEngines.ViewLocationResult

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

Описание методов

FileSystemViewSourceProvider() публичный Метод

public FileSystemViewSourceProvider ( IRootPathProvider rootPathProvider, IConfiguration settings ) : System
rootPathProvider IRootPathProvider
settings IConfiguration
Результат System

LocateView() публичный Метод

Attemptes to locate the view, specified by the viewName parameter, in the underlaying source.
public LocateView ( string viewName, IEnumerable supportedViewEngineExtensions ) : Nancy.ViewEngines.ViewLocationResult
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