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
-
api Service Api
dotMailer.Sdk.Collections.DmTemplateCollection.DmTemplateCollection | ( | IEnumerable< IDmTemplate > | templates | ) |
Creates a new template collection and adds the specified templates.
- Parameters
-
templates A 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
-
api A reference to the api. template A 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
-
templates collection of contact interfaces
Property Documentation
|
getset |
Returns the type name of the class. Used by the serialisation process.
Generated by 1.8.3