-
Notifications
You must be signed in to change notification settings - Fork 5
Markdown2Pdf.Services.TemplateFiller
GitHub Action edited this page May 25, 2024
·
1 revision
Namespace: Markdown2Pdf.Services
Assembly: Markdown2Pdf.dll
Simple templating service.
public class TemplateFillerobject.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()
Replaces all tokens of the form @(key) with the given values in the model.
public static string FillTemplate(string template, Dictionary<string, string> model)template string
The template to replace in.
model Dictionary<string, string>
The model, containg the keys and values.
The filled template.