Interface ITemplateRenderer
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 |
|
System.Collections.Generic.Dictionary<TKey, TValue><string, object> |
globalContext |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><string> |
|
Extension Methods