C# Class Elfar.Mvc.Views.Engine

Inheritance: System.Web.Mvc.VirtualPathProviderViewEngine, IVirtualPathFactory
显示文件 Open project: stevenbey/elfar Class Usage Examples

Public Methods

Method Description
CreateInstance ( string virtualPath ) : object
Engine ( ) : System
Exists ( string virtualPath ) : bool

Protected Methods

Method Description
CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string path ) : IView
CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath ) : IView
FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool

Private Methods

Method Description
GetVirtualPath ( Type type ) : string

Method Details

CreateInstance() public method

public CreateInstance ( string virtualPath ) : object
virtualPath string
return object

CreatePartialView() protected method

protected CreatePartialView ( System.Web.Mvc.ControllerContext controllerContext, string path ) : IView
controllerContext System.Web.Mvc.ControllerContext
path string
return IView

CreateView() protected method

protected CreateView ( System.Web.Mvc.ControllerContext controllerContext, string viewPath, string masterPath ) : IView
controllerContext System.Web.Mvc.ControllerContext
viewPath string
masterPath string
return IView

Engine() public method

public Engine ( ) : System
return System

Exists() public method

public Exists ( string virtualPath ) : bool
virtualPath string
return bool

FileExists() protected method

protected FileExists ( System.Web.Mvc.ControllerContext controllerContext, string virtualPath ) : bool
controllerContext System.Web.Mvc.ControllerContext
virtualPath string
return bool