C# Class MvcContrib.UI.BlockRenderer

Renders an Action delegate and captures all output to a string.
Afficher le fichier Open project: Q42/XsltViewEngine Class Usage Examples

Méthodes publiques

Méthode Description
BlockRenderer ( System.Web.HttpContextBase httpContext ) : System
Capture ( System.Action viewRenderer ) : string

Renders the action and returns a string.

Method Details

BlockRenderer() public méthode

public BlockRenderer ( System.Web.HttpContextBase httpContext ) : System
httpContext System.Web.HttpContextBase
Résultat System

Capture() public méthode

Renders the action and returns a string.
public Capture ( System.Action viewRenderer ) : string
viewRenderer System.Action The delegate to render.
Résultat string