Walter.Web.FireWall
RenderToStringAsync<TModel> Method
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Infrastructure Namespace > IRazorStringRenderer Interface : RenderToStringAsync<TModel> Method
The type of the model.
The view name.
The model.
indicates that the view is a partial view.
Render a action and return the result as a string asynchronous.
Syntax
Task<string> RenderToStringAsync<TModel>( 
   string view,
   TModel model,
   bool isPartial
)
where TModel: FireWallReportingModel

Parameters

view
The view name.
model
The model.
isPartial
indicates that the view is a partial view.

Type Parameters

TModel
The type of the model.

Return Value

System.Threading.Tasks.Task<System.String>.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRazorStringRenderer Interface
IRazorStringRenderer Members