private TokenizedTemplate CreateTokenizedTemplate(EmailTarget target, string defaultTemplate, params Guid[] contexts) { var template = new TokenizedTemplate(target.ToTemplateTypeString()) { Name = target.ToString(), Description = target.ToString() + " of the email", ContextualDataTypeIds = contexts }; template.Set("en-us", defaultTemplate); return(template); }
private TokenizedTemplate CreateTokenizedTemplate(EmailTarget target, string defaultTemplate, params Guid[] contexts) { var template = new TokenizedTemplate(target.ToTemplateTypeString()) { Name = target.ToString(), Description = target.ToString() + " of the email", ContextualDataTypeIds = contexts }; template.Set("en-us", defaultTemplate); return template; }
public string GetTemplateName(EmailTarget target) { return target.ToTemplateTypeString(); }
public string GetTemplateName(EmailTarget target) { return(target.ToTemplateTypeString()); }