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 |
|
public static LoadEmbeddedResource ( string embeddedResourcePath ) : string | ||
embeddedResourcePath | string | The full resource path (including namespace) |
Résultat | string |
public static RenderView ( string viewName, object model ) : System.Web.Mvc.ContentResult | ||
viewName | string | |
model | object | |
Résultat | System.Web.Mvc.ContentResult |