This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Graph.
Summary
Parses the specified razor template and returns the result as a string
- Assembly
- Cake
.Graph .dll - Namespace
- Cake
.Graph .Templates - Containing Type
- GraphTemplateManager
Syntax
public Task<string> ParseTemplateAsync<T>(TemplateTypes templateTypeKey, T model)
Attributes
Type | Description |
---|---|
Async |
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
templateTypeKey | TemplateTypes | |
model | T |
Return Value
Type | Description |
---|---|
Task |