C# Class Manos.Mvc.ViewService

Mostra file Open project: toptensoftware/manos Class Usage Examples

Public Methods

Method Description
FindViewTemplate ( string view, string controller ) : string
LoadViewTemplate ( string viewfile ) : IViewTemplate
LoadViewTemplate ( string viewname, string controller ) : IViewTemplate
RegisterViewEngine ( IViewEngine e ) : void
RegisterViewPath ( string path ) : void
ResetViewEngines ( ) : void
ResetViewPath ( ) : void
ViewService ( MvcApp app ) : System

Method Details

FindViewTemplate() public method

public FindViewTemplate ( string view, string controller ) : string
view string
controller string
return string

LoadViewTemplate() public method

public LoadViewTemplate ( string viewfile ) : IViewTemplate
viewfile string
return IViewTemplate

LoadViewTemplate() public method

public LoadViewTemplate ( string viewname, string controller ) : IViewTemplate
viewname string
controller string
return IViewTemplate

RegisterViewEngine() public method

public RegisterViewEngine ( IViewEngine e ) : void
e IViewEngine
return void

RegisterViewPath() public method

public RegisterViewPath ( string path ) : void
path string
return void

ResetViewEngines() public method

public ResetViewEngines ( ) : void
return void

ResetViewPath() public method

public ResetViewPath ( ) : void
return void

ViewService() public method

public ViewService ( MvcApp app ) : System
app MvcApp
return System