dotmailer SDK: dotMailer.Sdk.Collections.DmTemplateCollection Class Reference

dotmailer SDK

dotmailer SDK
Tools to access and manage an account in the dotMailer system
dotMailer.Sdk.Collections.DmTemplateCollection Class Reference

A collection of templates. More...

Inheritance diagram for dotMailer.Sdk.Collections.DmTemplateCollection:

Public Member Functions

 DmTemplateCollection ()
 Creates an empty template collection.
 
 DmTemplateCollection (DmService api)
 Creates an empty template collection.
 
 DmTemplateCollection (IEnumerable< IDmTemplate > templates)
 Creates a new template collection and adds the specified templates.
 
 DmTemplateCollection (DmService api, IEnumerable< IDmTemplate > template)
 Creates a new template collection and adds the specified templates. Each template is converted to a DmTemplate instance.
 
void AddRange (IEnumerable< IDmTemplate > templates)
 Adds a range of templates to the list. Each template is converted to a DmTemplate instance.
 

Properties

override string ObjectType [get, set]
 Returns the type name of the class. Used by the serialisation process.
 

Detailed Description

A collection of templates.

Constructor & Destructor Documentation

dotMailer.Sdk.Collections.DmTemplateCollection.DmTemplateCollection ( )

Creates an empty template collection.

dotMailer.Sdk.Collections.DmTemplateCollection.DmTemplateCollection ( DmService  api)

Creates an empty template collection.

Parameters
apiService Api
dotMailer.Sdk.Collections.DmTemplateCollection.DmTemplateCollection ( IEnumerable< IDmTemplate templates)

Creates a new template collection and adds the specified templates.

Parameters
templatesA list of objects supporting the IDmTemplate interface.
dotMailer.Sdk.Collections.DmTemplateCollection.DmTemplateCollection ( DmService  api,
IEnumerable< IDmTemplate template 
)

Creates a new template collection and adds the specified templates. Each template is converted to a DmTemplate instance.

Parameters
apiA reference to the api.
templateA list of objects that implement the IDmTemplate interface.

Member Function Documentation

void dotMailer.Sdk.Collections.DmTemplateCollection.AddRange ( IEnumerable< IDmTemplate templates)

Adds a range of templates to the list. Each template is converted to a DmTemplate instance.

Parameters
templatescollection of contact interfaces

Property Documentation

override string dotMailer.Sdk.Collections.DmTemplateCollection.ObjectType
getset

Returns the type name of the class. Used by the serialisation process.

Generated by   doxygen 1.8.3