C# 클래스 MvcContrib.UI.BlockRenderer

Renders an Action delegate and captures all output to a string.
파일 보기 프로젝트 열기: Q42/XsltViewEngine 1 사용 예제들

공개 메소드들

메소드 설명
BlockRenderer ( System.Web.HttpContextBase httpContext ) : System
Capture ( System.Action viewRenderer ) : string

Renders the action and returns a string.

메소드 상세

BlockRenderer() 공개 메소드

public BlockRenderer ( System.Web.HttpContextBase httpContext ) : System
httpContext System.Web.HttpContextBase
리턴 System

Capture() 공개 메소드

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