C# Class Sage.Views.XsltViewEngine

Implements an IViewEngine that creates XSLT views.
Inheritance: System.Web.Mvc.VirtualPathProviderViewEngine
Afficher le fichier Open project: igorfrance/sage

Méthodes publiques

Méthode Description
XsltViewEngine ( ) : System

Initializes a new instance of the XsltViewEngine class.

Méthodes protégées

Méthode 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

Méthode Description
GetViewInfo ( System.Web.Mvc.ControllerContext controllerContext, string viewName ) : ViewInfo

Method Details

CreatePartialView() protected méthode

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.
Résultat IView

CreateView() protected méthode

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.
Résultat IView

FileExists() protected méthode

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.
Résultat bool

XsltViewEngine() public méthode

Initializes a new instance of the XsltViewEngine class.
public XsltViewEngine ( ) : System
Résultat System