Class ConnectMapperExtension
Provides extension methods for mapping newsletter entities.
Inherited Members
Namespace: DataWeb.Mappers
Assembly: DataWeb.Core.dll
Syntax
public static class ConnectMapperExtension
Methods
ToAutomationEventInfo(AutomationEvent)
Declaration
public static AutomationEventInfo ToAutomationEventInfo(this AutomationEvent automationEvent)
Parameters
| Type | Name | Description |
|---|---|---|
| AutomationEvent | automationEvent |
Returns
| Type | Description |
|---|---|
| AutomationEventInfo |
ToDataDeliverSubscriber(NewsletterSubscriber)
Converts a NewsletterSubscriber to a NewsletterSubscriberInfo instance.
Declaration
public static NewsletterSubscriberInfo ToDataDeliverSubscriber(this NewsletterSubscriber subscriber)
Parameters
| Type | Name | Description |
|---|---|---|
| NewsletterSubscriber | subscriber | The NewsletterSubscriberInfo to convert. |
Returns
| Type | Description |
|---|---|
| NewsletterSubscriberInfo | An instance of NewsletterSubscriberInfo representing the subscriber. |
ToNewsletterRowInfo(NewsletterRow)
Converts a NewsletterRow to a NewsletterRowInfo instance.
Declaration
public static NewsletterRowInfo ToNewsletterRowInfo(this NewsletterRow newsletterRow)
Parameters
| Type | Name | Description |
|---|---|---|
| NewsletterRow | newsletterRow | The NewsletterRow to convert. |
Returns
| Type | Description |
|---|---|
| NewsletterRowInfo | An instance of NewsletterRowInfo representing the newsletter row. |