Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | IHttpHandler |
public CreateRequest ( IRequest request, string operationName ) : object | ||
request | IRequest | |
operationName | string | |
return | object |
public EnsureCompiled ( ServiceStack.Razor.Managers.RazorPage page, IResponse response ) : void | ||
page | ServiceStack.Razor.Managers.RazorPage | |
response | IResponse | |
return | void |
public FindRazorPage ( IRequest httpReq, object model ) : ServiceStack.Razor.Managers.RazorPage | ||
httpReq | IRequest | |
model | object | |
return | ServiceStack.Razor.Managers.RazorPage |
public GetResponse ( IRequest httpReq, object request ) : object | ||
httpReq | IRequest | |
request | object | |
return | object |
public HasView ( string viewName, IRequest httpReq = null ) : bool | ||
viewName | string | |
httpReq | IRequest | |
return | bool |
public ProcessRequest ( IRequest httpReq, IResponse httpRes, object dto ) : bool | ||
httpReq | IRequest | |
httpRes | IResponse | |
dto | object | |
return | bool |
public ProcessRequest ( IRequest httpReq, IResponse httpRes, string operationName ) : void | ||
httpReq | IRequest | |
httpRes | IResponse | |
operationName | string | |
return | void |
public RazorPageResolver ( IRazorConfig config, |
||
config | IRazorConfig | |
viewManager | ||
return | System |
public RenderPartial ( string pageName, object model, bool renderHtml, |
||
pageName | string | |
model | object | |
renderHtml | bool | |
writer | ||
htmlHelper | HtmlHelper | |
return | 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 | |
return | IRazorView |