C# 클래스 Q42.Mvc.XsltViewEngine.XsltView

상속: IView, IViewDataContainer
파일 보기 프로젝트 열기: Q42/XsltViewEngine

공개 메소드들

메소드 설명
Render ( System.Web.Mvc.ViewContext viewContext, TextWriter writer ) : void
XsltView ( ControllerContext controllerContext, string partialPath, PluginConstructor>.Dictionary pluginConstructors ) : System
XsltView ( ControllerContext controllerContext, string viewPath, string masterPath, PluginConstructor>.Dictionary pluginConstructors ) : System

비공개 메소드들

메소드 설명
GetDirectories ( string path ) : IEnumerable
addObject ( string name, object obj ) : void

Adds an object as parameter to the xsl, so it can be obtained from within xsl by a global param definition with the same name. The object will be serialized automatically if needed to.

getMediaType ( ) : string

Retrieves the media type set by the xsl's output element. This is done by reflection due to its protection level.

getXsl ( string fileName ) : XslCompiledTransform

Returns an Xsl file

resolvePath ( string path ) : string

Resolves a virtual path to an absolute path

메소드 상세

Render() 공개 메소드

public Render ( System.Web.Mvc.ViewContext viewContext, TextWriter writer ) : void
viewContext System.Web.Mvc.ViewContext
writer System.IO.TextWriter
리턴 void

XsltView() 공개 메소드

public XsltView ( ControllerContext controllerContext, string partialPath, PluginConstructor>.Dictionary pluginConstructors ) : System
controllerContext ControllerContext
partialPath string
pluginConstructors PluginConstructor>.Dictionary
리턴 System

XsltView() 공개 메소드

public XsltView ( ControllerContext controllerContext, string viewPath, string masterPath, PluginConstructor>.Dictionary pluginConstructors ) : System
controllerContext ControllerContext
viewPath string
masterPath string
pluginConstructors PluginConstructor>.Dictionary
리턴 System