C# Class NServiceMVC.WebStack.TemplateEngine

Afficher le fichier Open project: gregmac/NServiceMVC

Méthodes publiques

Méthode Description
Initialize ( ) : void

Initialize the template engine, called by NServiceMVC.Initialize()

LoadEmbeddedResource ( string embeddedResourcePath ) : string

Loads an embedded resource. Returns null if there is a problem (eg, not found).

RenderView ( string viewName, object model ) : System.Web.Mvc.ContentResult

Method Details

Initialize() public static méthode

Initialize the template engine, called by NServiceMVC.Initialize()
public static Initialize ( ) : void
Résultat void

LoadEmbeddedResource() public static méthode

Loads an embedded resource. Returns null if there is a problem (eg, not found).
public static LoadEmbeddedResource ( string embeddedResourcePath ) : string
embeddedResourcePath string The full resource path (including namespace)
Résultat string

RenderView() public static méthode

The resource could not be found
public static RenderView ( string viewName, object model ) : System.Web.Mvc.ContentResult
viewName string
model object
Résultat System.Web.Mvc.ContentResult