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