Свойство | Type | Description | |
---|---|---|---|
Instance |
Свойство | Type | Description | |
---|---|---|---|
PageResolver | |||
ViewManager |
Méthode | Description | |
---|---|---|
AddPage ( string filePath ) : ServiceStack.Razor.Managers.RazorPage | ||
CreateAndRenderToHtml ( string razorContents, object model = null, string layout = null ) : string | ||
CreatePage ( string razorContents ) : ServiceStack.Razor.Managers.RazorPage | ||
CreatePageResolver ( ) : |
||
CreateViewManager ( ) : |
||
FindByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage | ||
GetPageByName ( string pageName ) : ServiceStack.Razor.Managers.RazorPage | ||
GetPageByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage | ||
Init ( ) : |
||
ProcessRazorPage ( IRequest httpReq, ServiceStack.Razor.Managers.RazorPage contentPage, object model, IResponse httpRes ) : void | ||
ProcessRequest ( IRequest httpReq, IResponse httpRes, object dto ) : void | ||
RazorFormat ( ) : System | ||
Register ( IAppHost appHost ) : void | ||
RenderToHtml ( ServiceStack.Razor.Managers.RazorPage razorPage, IRazorView &razorView, object model = null, string layout = null ) : string | ||
RenderToHtml ( ServiceStack.Razor.Managers.RazorPage razorPage, object model = null, string layout = null ) : string | ||
RenderToHtml ( string filePath, object model = null, string layout = null ) : string |
Méthode | Description | |
---|---|---|
BindToAppHost ( IAppHost appHost ) : void | ||
CreateLiveReload ( |
||
DenyPathsWithLeading_ ( string path ) : bool |
public AddPage ( string filePath ) : ServiceStack.Razor.Managers.RazorPage | ||
filePath | string | |
Résultat | ServiceStack.Razor.Managers.RazorPage |
public CreateAndRenderToHtml ( string razorContents, object model = null, string layout = null ) : string | ||
razorContents | string | |
model | object | |
layout | string | |
Résultat | string |
public CreatePage ( string razorContents ) : ServiceStack.Razor.Managers.RazorPage | ||
razorContents | string | |
Résultat | ServiceStack.Razor.Managers.RazorPage |
public CreatePageResolver ( ) : |
||
Résultat |
public CreateViewManager ( ) : |
||
Résultat |
public FindByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage | ||
pathInfo | string | |
Résultat | ServiceStack.Razor.Managers.RazorPage |
public GetPageByName ( string pageName ) : ServiceStack.Razor.Managers.RazorPage | ||
pageName | string | |
Résultat | ServiceStack.Razor.Managers.RazorPage |
public GetPageByPathInfo ( string pathInfo ) : ServiceStack.Razor.Managers.RazorPage | ||
pathInfo | string | |
Résultat | ServiceStack.Razor.Managers.RazorPage |
public ProcessRazorPage ( IRequest httpReq, ServiceStack.Razor.Managers.RazorPage contentPage, object model, IResponse httpRes ) : void | ||
httpReq | IRequest | |
contentPage | ServiceStack.Razor.Managers.RazorPage | |
model | object | |
httpRes | IResponse | |
Résultat | void |
public ProcessRequest ( IRequest httpReq, IResponse httpRes, object dto ) : void | ||
httpReq | IRequest | |
httpRes | IResponse | |
dto | object | |
Résultat | void |
public Register ( IAppHost appHost ) : void | ||
appHost | IAppHost | |
Résultat | void |
public RenderToHtml ( ServiceStack.Razor.Managers.RazorPage razorPage, IRazorView &razorView, object model = null, string layout = null ) : string | ||
razorPage | ServiceStack.Razor.Managers.RazorPage | |
razorView | IRazorView | |
model | object | |
layout | string | |
Résultat | string |
public RenderToHtml ( ServiceStack.Razor.Managers.RazorPage razorPage, object model = null, string layout = null ) : string | ||
razorPage | ServiceStack.Razor.Managers.RazorPage | |
model | object | |
layout | string | |
Résultat | string |
public RenderToHtml ( string filePath, object model = null, string layout = null ) : string | ||
filePath | string | |
model | object | |
layout | string | |
Résultat | string |
public static RazorFormat,ServiceStack.Razor Instance | ||
Résultat |
protected RazorPageResolver,ServiceStack.Razor.Managers PageResolver | ||
Résultat |