Class NewsletterMailingListBase
Base class for newsletter mailing lists.
Inheritance
Inherited Members
Namespace: DataWeb.Newsletter
Assembly: DataWeb.Core.dll
Syntax
public abstract class NewsletterMailingListBase
Constructors
NewsletterMailingListBase(IServiceProvider)
Creates a new instance of the NewsletterMailingListBase class.
Declaration
public NewsletterMailingListBase(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The service provider. |
Fields
serviceProvider
Declaration
protected readonly IServiceProvider serviceProvider
Field Value
Type | Description |
---|---|
IServiceProvider |
Properties
Countries
The countries of the subscribers in the mailing list.
Declaration
public IEnumerable<string> Countries { get; set; }
Property Value
Type |
---|
IEnumerable<string> |
Cultures
The cultures of the subscribers in the mailing list.
Declaration
public IEnumerable<string> Cultures { get; set; }
Property Value
Type |
---|
IEnumerable<string> |
Groups
The groups of the subscribers in the mailing list.
Declaration
public IEnumerable<string> Groups { get; set; }
Property Value
Type |
---|
IEnumerable<string> |
IdMaster
Gets or sets the unique identifier.
Declaration
public string IdMaster { get; set; }
Property Value
Type |
---|
string |
Interests
The interests of the subscribers in the mailing list.
Declaration
public IEnumerable<string> Interests { get; set; }
Property Value
Type |
---|
IEnumerable<string> |
MailingListClass
The class of the mailing list.
Declaration
public string MailingListClass { get; set; }
Property Value
Type |
---|
string |
Name
The name of the mailing list.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
string |
Zones
The zones of the subscribers in the mailing list.
Declaration
public IEnumerable<string> Zones { get; set; }
Property Value
Type |
---|
IEnumerable<string> |
Methods
ProcessOnRowSendCompleteAsync(string)
This method is called after the mailing list is sent to all subscribers in a row.
Declaration
public virtual Task ProcessOnRowSendCompleteAsync(string rowIdMaster)
Parameters
Type | Name | Description |
---|---|---|
string | rowIdMaster | The Id of the row in the database. |
Returns
Type | Description |
---|---|
Task |
ProcessOnRowSendStartAsync(string)
This method is called before the mailing list is sent to all subscribers in a row.
Declaration
public virtual Task ProcessOnRowSendStartAsync(string rowIdMaster)
Parameters
Type | Name | Description |
---|---|---|
string | rowIdMaster | The Id of the row in the database. |
Returns
Type | Description |
---|---|
Task |
ProcessOnSubscriberSendCompleteAsync(string, string)
This method is called after the mailing list is sent to a subscriber.
Declaration
public virtual Task ProcessOnSubscriberSendCompleteAsync(string rowIdMaster, string subscriberId)
Parameters
Type | Name | Description |
---|---|---|
string | rowIdMaster | The Id of the row in the database. |
string | subscriberId | The Id of the subscriber. |
Returns
Type | Description |
---|---|
Task |
ProcessOnSubscriberSendStartAsync(string, string)
This method is called before the mailing list is sent to a subscriber.
Declaration
public virtual Task ProcessOnSubscriberSendStartAsync(string rowIdMaster, string subscriberId)
Parameters
Type | Name | Description |
---|---|---|
string | rowIdMaster | The Id of the row in the database. |
string | subscriberId | The Id of the subscriber. |
Returns
Type | Description |
---|---|
Task |