Class TemplateEngine
Contents
[
Hide
]TemplateEngine class
This class uses specified template to construct E-Mail messages.
public sealed class TemplateEngine
Constructors
Name | Description |
---|---|
TemplateEngine(MailMessage) | Initializes a new instance of the TemplateEngine class. |
TemplateEngine(string) | Initializes a new instance of the TemplateEngine class. |
Methods
Name | Description |
---|---|
GetTemplateFields() | Get list of template field names. |
Instantiate(DataRowCollection) | Instantiates the template with a DataRowCollection as datasource. |
Instantiate(DataTable) | Instantiates the template with a DataTable as datasource. |
Instantiate(IDataReader) | Instantiates the template with a IDataReader as datasource. |
Instantiate(DataRowCollection, IColumnMappingCollection) | Instantiates the template with a DataRowCollection as datasource. |
Instantiate(DataTable, IColumnMappingCollection) | Instantiates the template with a DataTable as datasource. |
IsRoutineRegistered(string) | Determines if a name of template routine is registered in the template engine. |
Merge(DataRow) | Merge a source DataRow with the template. |
Merge(MailMessage) | Merge a source MailMessage with the template |
RegisterRoutine(string, TemplateRoutine) | Registers the template routine to the temaplate engine. |
Reset() | Resets this instance. |
UnregisterRoutine(string) | Unregister the template routine from the template engine by name. |
See Also
- namespace Aspose.Email.Tools.Merging
- assembly Aspose.Email