Summary
Parses the specified razor template and returns the result as a string
- Namespace
- Cake
.Graph .Templates - Containing Type
- GraphTemplateManager
Syntax
public string ParseTemplate<T>(TemplateTypes templateTypeKey, T model)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| templateTypeKey | TemplateTypes | |
| model | T |
Return Value
| Type | Description |
|---|---|
| string |