C# Class Sage.Views.XsltViewEngine

Implements an IViewEngine that creates XSLT views.
Inheritance: System.Web.Mvc.VirtualPathProviderViewEngine
Exibir arquivo Open project: igorfrance/sage

Public Methods

Method Description
XsltViewEngine ( ) : System

Initializes a new instance of the XsltViewEngine class.

Protected Methods

Method Description
CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : IView

Creates the partial view.

CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterPath ) : IView

Creates an IView instance, using the specified controllerContext and viewName.

FileExists ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : bool

Indicates whether a view exists

Private Methods

Method Description
GetViewInfo ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : ViewInfo

Method Details

CreatePartialView() protected method

Creates the partial view.
protected CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : IView
controllerContext System.Web.Mvc.ControllerContext The controller context for which to create the partial view.
viewName string The name of the partial view to create.
return IView

CreateView() protected method

Creates an IView instance, using the specified controllerContext and viewName.
protected CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewName, string masterPath ) : IView
controllerContext System.Web.Mvc.ControllerContext The controller context for which to create the view.
viewName string The controller/action part of the path to the view to create.
masterPath string This parameter is ignored.
return IView

FileExists() protected method

Indicates whether a view exists
protected FileExists ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : bool
controllerContext System.Web.Mvc.ControllerContext The controller context for which to find the view.
viewName string The controller/action part of the view path to check.
return bool

XsltViewEngine() public method

Initializes a new instance of the XsltViewEngine class.
public XsltViewEngine ( ) : System
return System