Click or drag to resize

SimpleNotificationTemplateFillerFillTemplate(NotificationInstance, String, IDictionaryString, Object) Method

Fills a template supplied in template and the content of the language provided in templateLanguage with the key/value pairs provided in model.

Namespace: SanteDB.Core.Notifications.Templating
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public NotificationTemplateContents FillTemplate(
	NotificationInstance template,
	string templateLanguage,
	IDictionary<string, Object> model
)

Parameters

template  NotificationInstance
The template to fill.
templateLanguage  String
The language of the template to use to retrieve the content for. The most specific language content will be used.
model  IDictionaryString, Object
The key/value pairs of parameters to insert into the template.

Return Value

NotificationTemplateContents
A instance of NotificationTemplateContents containing the filled template.

Implements

INotificationTemplateFillerFillTemplate(NotificationInstance, String, IDictionaryString, Object)
See Also