C# Класс NServiceMVC.WebStack.TemplateEngine

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Initialize() публичный статический Метод

Initialize the template engine, called by NServiceMVC.Initialize()
public static Initialize ( ) : void
Результат void

LoadEmbeddedResource() публичный статический Метод

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)
Результат string

RenderView() публичный статический Метод

The resource could not be found
public static RenderView ( string viewName, object model ) : System.Web.Mvc.ContentResult
viewName string
model object
Результат System.Web.Mvc.ContentResult