C# 클래스 ServiceStack.Razor.Managers.RazorViewManager

This view manager is responsible for keeping track of all the available Razor views and states of Razor pages.
파일 보기 프로젝트 열기: nustack/ServiceStack 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Log ILog
Pages RazorPage>.Dictionary

보호된 프로퍼티들

프로퍼티 타입 설명
PathProvider IVirtualPathProvider
ViewNamesMap string>.Dictionary

공개 메소드들

메소드 설명
AddPage ( IVirtualFile file ) : ServiceStack.Razor.Managers.RazorPage
AddPage ( string filePath ) : ServiceStack.Razor.Managers.RazorPage
GetDictionaryPagePath ( IVirtualFile file ) : string
GetDictionaryPagePath ( string relativePath ) : string
GetPage ( IRequest request, object dto ) : ServiceStack.Razor.Managers.RazorPage
GetPage ( string absolutePath ) : ServiceStack.Razor.Managers.RazorPage
GetPageByName ( string pageName ) : ServiceStack.Razor.Managers.RazorPage
GetPageByName ( string pageName, IRequest request, object dto ) : ServiceStack.Razor.Managers.RazorPage
GetPageByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage
GetRelativePath ( string ospath ) : string
GetVirutalFile ( string ospath ) : IVirtualFile
Init ( ) : void
IsWatchedFile ( IVirtualFile file ) : bool
RazorViewManager ( IRazorConfig viewConfig, IVirtualPathProvider virtualPathProvider ) : System
TrackPage ( IVirtualFile file ) : ServiceStack.Razor.Managers.RazorPage

보호된 메소드들

메소드 설명
AddPage ( ServiceStack.Razor.Managers.RazorPage page ) : ServiceStack.Razor.Managers.RazorPage

비공개 메소드들

메소드 설명
CombinePaths ( ) : string
NormalizePath ( IRequest request, object dto ) : string
ScanForRazorPages ( ) : void

메소드 상세

AddPage() 공개 메소드

public AddPage ( IVirtualFile file ) : ServiceStack.Razor.Managers.RazorPage
file IVirtualFile
리턴 ServiceStack.Razor.Managers.RazorPage

AddPage() 보호된 메소드

protected AddPage ( ServiceStack.Razor.Managers.RazorPage page ) : ServiceStack.Razor.Managers.RazorPage
page ServiceStack.Razor.Managers.RazorPage
리턴 ServiceStack.Razor.Managers.RazorPage

AddPage() 공개 메소드

public AddPage ( string filePath ) : ServiceStack.Razor.Managers.RazorPage
filePath string
리턴 ServiceStack.Razor.Managers.RazorPage

GetDictionaryPagePath() 공개 메소드

public GetDictionaryPagePath ( IVirtualFile file ) : string
file IVirtualFile
리턴 string

GetDictionaryPagePath() 공개 메소드

public GetDictionaryPagePath ( string relativePath ) : string
relativePath string
리턴 string

GetPage() 공개 메소드

public GetPage ( IRequest request, object dto ) : ServiceStack.Razor.Managers.RazorPage
request IRequest
dto object
리턴 ServiceStack.Razor.Managers.RazorPage

GetPage() 공개 메소드

public GetPage ( string absolutePath ) : ServiceStack.Razor.Managers.RazorPage
absolutePath string
리턴 ServiceStack.Razor.Managers.RazorPage

GetPageByName() 공개 메소드

public GetPageByName ( string pageName ) : ServiceStack.Razor.Managers.RazorPage
pageName string
리턴 ServiceStack.Razor.Managers.RazorPage

GetPageByName() 공개 메소드

public GetPageByName ( string pageName, IRequest request, object dto ) : ServiceStack.Razor.Managers.RazorPage
pageName string
request IRequest
dto object
리턴 ServiceStack.Razor.Managers.RazorPage

GetPageByPathInfo() 공개 메소드

public GetPageByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage
pathInfo string
리턴 ServiceStack.Razor.Managers.RazorPage

GetRelativePath() 공개 메소드

public GetRelativePath ( string ospath ) : string
ospath string
리턴 string

GetVirutalFile() 공개 메소드

public GetVirutalFile ( string ospath ) : IVirtualFile
ospath string
리턴 IVirtualFile

Init() 공개 메소드

public Init ( ) : void
리턴 void

IsWatchedFile() 공개 메소드

public IsWatchedFile ( IVirtualFile file ) : bool
file IVirtualFile
리턴 bool

RazorViewManager() 공개 메소드

public RazorViewManager ( IRazorConfig viewConfig, IVirtualPathProvider virtualPathProvider ) : System
viewConfig IRazorConfig
virtualPathProvider IVirtualPathProvider
리턴 System

TrackPage() 공개 메소드

public TrackPage ( IVirtualFile file ) : ServiceStack.Razor.Managers.RazorPage
file IVirtualFile
리턴 ServiceStack.Razor.Managers.RazorPage

프로퍼티 상세

Log 공개적으로 정적으로 프로퍼티

public static ILog Log
리턴 ILog

Pages 공개적으로 프로퍼티

public Dictionary Pages
리턴 RazorPage>.Dictionary

PathProvider 보호되어 있는 프로퍼티

protected IVirtualPathProvider PathProvider
리턴 IVirtualPathProvider

ViewNamesMap 보호되어 있는 프로퍼티

protected Dictionary ViewNamesMap
리턴 string>.Dictionary