Interface IMailTemplate

A strongly typed entity interface for mail templates.

Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsNotifications
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public interface IMailTemplate : ITypedEntity, IEntity, IResource, IDirtyTracking

Properties

Name

Gets or sets the name.

Declaration
RequestResponse

string Name { get; set; }
Property Value
TypeDescription
string

Methods

GetBody(CultureInfo)

Gets the body.

Declaration
RequestResponse

string GetBody(CultureInfo culture)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

Returns
TypeDescription
string

The body.

GetDescription(CultureInfo)

Gets the description.

Declaration
RequestResponse

string GetDescription(CultureInfo culture)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

Returns
TypeDescription
string

The description.

GetSubject(CultureInfo)

Gets the subject.

Declaration
RequestResponse

string GetSubject(CultureInfo culture)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

Returns
TypeDescription
string

The subject.

GetTemplateVariables()

Gets the template variables.

Declaration
RequestResponse

IList<TemplateVariable> GetTemplateVariables()
Returns
TypeDescription
IList<>TemplateVariable

A list of template variables.

SetBody(CultureInfo, string)

Sets the body.

Declaration
RequestResponse

void SetBody(CultureInfo culture, string body)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

stringbody

The body.

SetDescription(CultureInfo, string)

Sets the description.

Declaration
RequestResponse

void SetDescription(CultureInfo culture, string description)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

stringdescription

The description.

SetSubject(CultureInfo, string)

Sets the subject.

Declaration
RequestResponse

void SetSubject(CultureInfo culture, string subject)
Parameters
TypeNameDescription
CultureInfoculture

The culture.

stringsubject

The subject.

SetTemplateVariables(IEnumerable<TemplateVariable>)

Sets the template variables.

Declaration
RequestResponse

void SetTemplateVariables(IEnumerable<TemplateVariable> variables)
Parameters
TypeNameDescription
IEnumerable<>TemplateVariablevariables

A collection of template variables.

Do you have some feedback for us?

If you have suggestions for improving this article,