Click or drag to resize

INotificationTemplateFillerFillTemplate(String, String, IDictionaryString, Object) Method

Retrieves a template from the repository using templateId and templateLanguage and fills it with key/value pairs provided in model.

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

Parameters

templateId  String
The id of the template in the repository.
templateLanguage  String
The language of the template from the repository. The language should match the language preference of the entity which will receive the notification.
model  IDictionaryString, Object
A key/value pair dictionary of values to use for insertion into the notification.

Return Value

NotificationTemplateContents
An instance of NotificationTemplateContents which has been filled in using the model provided.
See Also