C# 클래스 NSemble.Core.Nancy.NSembleViewLocationProvider

상속: IViewLocationProvider
파일 보기 프로젝트 열기: synhershko/NSemble

공개 메소드들

메소드 설명
GetLocatedViews ( IEnumerable supportedViewExtensions ) : IEnumerable
GetLocatedViews ( IEnumerable supportedViewExtensions, string location, string viewName ) : IEnumerable

Returns an ViewLocationResult instance for all the views matching the viewName that could be located by the provider.

If no views could be located, this method should return an empty enumerable, never .

NSembleViewLocationProvider ( IRootPathProvider rootPathProvider, IFileSystemReader fileSystemReader, global container ) : System
NSembleViewLocationProvider ( IRootPathProvider rootPathProvider, global container ) : System

메소드 상세

GetLocatedViews() 공개 메소드

public GetLocatedViews ( IEnumerable supportedViewExtensions ) : IEnumerable
supportedViewExtensions IEnumerable
리턴 IEnumerable

GetLocatedViews() 공개 메소드

Returns an ViewLocationResult instance for all the views matching the viewName that could be located by the provider.
If no views could be located, this method should return an empty enumerable, never .
public GetLocatedViews ( IEnumerable supportedViewExtensions, string location, string viewName ) : IEnumerable
supportedViewExtensions IEnumerable An instance, containing the view engine file extensions that is supported by the running instance of Nancy.
location string
viewName string The name of the view to try and find
리턴 IEnumerable

NSembleViewLocationProvider() 공개 메소드

public NSembleViewLocationProvider ( IRootPathProvider rootPathProvider, IFileSystemReader fileSystemReader, global container ) : System
rootPathProvider IRootPathProvider
fileSystemReader IFileSystemReader
container global
리턴 System

NSembleViewLocationProvider() 공개 메소드

public NSembleViewLocationProvider ( IRootPathProvider rootPathProvider, global container ) : System
rootPathProvider IRootPathProvider
container global
리턴 System