C# 클래스 Sage.Views.XsltView

Implements an XSLT based IView.
상속: IView
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
Render ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter ) : void

Renders the current view to the specified target TextWriter.

Transform ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter ) : void

Transforms the specified view context.

Transform ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter, XsltTransform stylesheet ) : void

Transforms the specified view context.

Transform ( XmlNode subject, TextWriter textWriter, XsltTransform stylesheet, SageContext context ) : void

Transforms the specified document.

XsltView ( ViewInfo viewInfo ) : System

Initializes a new instance of the XsltView class.

메소드 상세

Render() 공개 메소드

Renders the current view to the specified target TextWriter.
public Render ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter ) : void
viewContext System.Web.Mvc.ViewContext The object that contains information required for rendering the /// current view.
textWriter System.IO.TextWriter The destination that receives the rendered result.
리턴 void

Transform() 공개 메소드

Transforms the specified view context.
public Transform ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter ) : void
viewContext System.Web.Mvc.ViewContext The view context.
textWriter System.IO.TextWriter The text writer.
리턴 void

Transform() 공개 메소드

Transforms the specified view context.
public Transform ( System.Web.Mvc.ViewContext viewContext, TextWriter textWriter, XsltTransform stylesheet ) : void
viewContext System.Web.Mvc.ViewContext The view context.
textWriter System.IO.TextWriter The text writer.
stylesheet XsltTransform The template.
리턴 void

Transform() 공개 메소드

Transforms the specified document.
public Transform ( XmlNode subject, TextWriter textWriter, XsltTransform stylesheet, SageContext context ) : void
subject System.Xml.XmlNode The xml node to transform.
textWriter System.IO.TextWriter The text writer to transform to.
stylesheet XsltTransform The style sheet to use.
context SageContext The context under which the code is executing.
리턴 void

XsltView() 공개 메소드

Initializes a new instance of the XsltView class.
public XsltView ( ViewInfo viewInfo ) : System
viewInfo ViewInfo Object that provides context information required for this view.
리턴 System