 | SimpleNotificationTemplateFillerFillTemplate(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.TemplatingAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic NotificationTemplateContents FillTemplate(
string templateId,
string templateLanguage,
IDictionary<string, Object> model
)
Public Function FillTemplate (
templateId As String,
templateLanguage As String,
model As IDictionary(Of String, Object)
) As NotificationTemplateContents
public:
virtual NotificationTemplateContents^ FillTemplate(
String^ templateId,
String^ templateLanguage,
IDictionary<String^, Object^>^ model
) sealed
abstract FillTemplate :
templateId : string *
templateLanguage : string *
model : IDictionary<string, Object> -> NotificationTemplateContents
override FillTemplate :
templateId : string *
templateLanguage : string *
model : IDictionary<string, Object> -> NotificationTemplateContents 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
NotificationTemplateContentsAn instance of
NotificationTemplateContents which has been filled in using the
model provided.
Implements
INotificationTemplateFillerFillTemplate(String, String, IDictionaryString, Object)
See Also