Class MailTemplateEntityExtensions

Current version: 3.4

Extension class for IMailTemplateEntity.

Inheritance
object
MailTemplateEntityExtensions
Namespace: StylelabsStylelabs.MSdkExtensions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public static class MailTemplateEntityExtensions

Methods

GetTemplateVariables(IMailTemplateEntity)

Gets the variables.

Declaration
RequestResponse
public static IList<TemplateVariable> GetTemplateVariables(this IMailTemplateEntity mailTemplate)
Parameters
TypeNameDescription
IMailTemplateEntitymailTemplate

The IMailTemplateEntity.

Returns
TypeDescription
IList<>TemplateVariable

The list of variables.

SetTemplateVariables(IMailTemplateEntity, IEnumerable<TemplateVariable>)

Sets the variables.

Declaration
RequestResponse
public static void SetTemplateVariables(this IMailTemplateEntity mailTemplate, IEnumerable<TemplateVariable> variables)
Parameters
TypeNameDescription
IMailTemplateEntitymailTemplate

The IMailTemplateEntity.

IEnumerable<>TemplateVariablevariables

The list of variables.

Do you have some feedback for us?

If you have suggestions for improving this article,