메소드 | 설명 | |
---|---|---|
CatchAllHandler ( string httpmethod, string pathInfo, string filepath ) : IHttpHandler | ||
CreateRequest ( IRequest request, string operationName ) : object | ||
EnsureCompiled ( ServiceStack.Razor.Managers.RazorPage page, IResponse response ) : void | ||
FindRazorPage ( IRequest httpReq, object model ) : ServiceStack.Razor.Managers.RazorPage | ||
GetResponse ( IRequest httpReq, object request ) : object | ||
HasView ( string viewName, IRequest httpReq = null ) : bool | ||
ProcessRequest ( IRequest httpReq, IResponse httpRes, object dto ) : bool |
Called by the HtmlFormat:IPlugin who checks to see if any registered view engines can handle the response DTO. If this view engine can handle the response DTO, then process it, otherwise, returning false will allow another view engine to attempt to process it. If no view engines can process the DTO, HtmlFormat will simply handle it itself.
|
|
ProcessRequest ( IRequest httpReq, IResponse httpRes, string operationName ) : void |
This is called by the hosting environment via CatchAll usually for content pages.
|
|
RazorPageResolver ( IRazorConfig config, |
||
RenderPartial ( string pageName, object model, bool renderHtml, |
||
ResolveAndExecuteRazorPage ( IRequest httpReq, IResponse httpRes, object model, ServiceStack.Razor.Managers.RazorPage razorPage = null ) : IRazorView |
메소드 | 설명 | |
---|---|---|
CreateRazorPageInstance ( IRequest httpReq, IResponse httpRes, object dto, ServiceStack.Razor.Managers.RazorPage razorPage ) : IRazorView | ||
ExecuteRazorPageWithLayout ( IRequest httpReq, IResponse httpRes, object model, IRazorView page, Func |
||
PrepareAndSetModel ( IRazorView page, IRequest httpReq, object dto ) : void |
public CatchAllHandler ( string httpmethod, string pathInfo, string filepath ) : IHttpHandler | ||
httpmethod | string | |
pathInfo | string | |
filepath | string | |
리턴 | IHttpHandler |
public CreateRequest ( IRequest request, string operationName ) : object | ||
request | IRequest | |
operationName | string | |
리턴 | object |
public EnsureCompiled ( ServiceStack.Razor.Managers.RazorPage page, IResponse response ) : void | ||
page | ServiceStack.Razor.Managers.RazorPage | |
response | IResponse | |
리턴 | void |
public FindRazorPage ( IRequest httpReq, object model ) : ServiceStack.Razor.Managers.RazorPage | ||
httpReq | IRequest | |
model | object | |
리턴 | ServiceStack.Razor.Managers.RazorPage |
public GetResponse ( IRequest httpReq, object request ) : object | ||
httpReq | IRequest | |
request | object | |
리턴 | object |
public HasView ( string viewName, IRequest httpReq = null ) : bool | ||
viewName | string | |
httpReq | IRequest | |
리턴 | bool |
public ProcessRequest ( IRequest httpReq, IResponse httpRes, object dto ) : bool | ||
httpReq | IRequest | |
httpRes | IResponse | |
dto | object | |
리턴 | bool |
public ProcessRequest ( IRequest httpReq, IResponse httpRes, string operationName ) : void | ||
httpReq | IRequest | |
httpRes | IResponse | |
operationName | string | |
리턴 | void |
public RazorPageResolver ( IRazorConfig config, |
||
config | IRazorConfig | |
viewManager | ||
리턴 | System |
public RenderPartial ( string pageName, object model, bool renderHtml, |
||
pageName | string | |
model | object | |
renderHtml | bool | |
writer | ||
htmlHelper | HtmlHelper | |
리턴 | string |
public ResolveAndExecuteRazorPage ( IRequest httpReq, IResponse httpRes, object model, ServiceStack.Razor.Managers.RazorPage razorPage = null ) : IRazorView | ||
httpReq | IRequest | |
httpRes | IResponse | |
model | object | |
razorPage | ServiceStack.Razor.Managers.RazorPage | |
리턴 | IRazorView |