Interface ITemplateRenderer
Namespace: Volo.Abp.TextTemplating
Assembly: Volo.Abp.TextTemplating.Core.dll
Syntax
public interface ITemplateRenderer
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> |