-
Notifications
You must be signed in to change notification settings - Fork 0
ITemplateEngine
mbsoftlab edited this page Dec 31, 2020
·
12 revisions
#Available Implementations ... Work in Progress....
| Methodname | Description |
|---|---|
string CreateStringFromTemplate([string template]) |
Creates a String from Datamodell and Template |
string CreateStringFromJson(templateEngine, string jsonData) |
Loads the Templatedata from JSON. |
void LoadTemplateFromFile(string filename) |
Loads a Stringtemplate from file. |
TemplateEngine() |
Constructor |
TemplateEngine(object templateDataModel, string stringTemplate) |
Constructor |
TemplateEngine(object templateDataModel) |
Constructor |
TemplateEngine<T>() |
Constructor |
TemplateEngine<T>(T templateDataModel, string stringTemplate) |
Constructor |
TemplateEngine<T>(T templateDataModel) |
Constructor |
| Propertyname | Datatype | Description |
|---|---|---|
OpeningDelimiter |
String | Set the beginning delimiter for propertyreplacement |
CloseingDelimiter |
String | Set the ending delimiter for propertyreplacement |
TemplateDataModel |
Generic / object | Modell with Properys for Dataholding |
TemplateString |
string | Templatestring |
NullStringValue |
string | String for NULL-Values |
CultureInfo |
CultureInfo | Culture for Double and DateTime values |