Interface ITemplateRenderingEngine
Namespace: Volo.Abp.TextTemplating
Assembly: Volo.Abp.TextTemplating.Core.dll
Syntax
public interface ITemplateRenderingEngine
Properties
Name
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
RenderAsync(string, object?, string?, Dictionary<string, object>?)
Declaration
Task<string> RenderAsync(string templateName, object? model = null, string? cultureName = null, Dictionary<string, object>? globalContext = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | templateName | |
| object | model | |
| string | cultureName | |
| Dictionary<string, object> | globalContext |
Returns
| Type | Description |
|---|---|
| Task<string> |