Method | 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) |
return | string |
public static RenderView ( string viewName, object model ) : System.Web.Mvc.ContentResult | ||
viewName | string | |
model | object | |
return | System.Web.Mvc.ContentResult |