Class NewsletterMailingListOneTime
A one-time implementation of a newsletter mailing list.
Inherited Members
Namespace: DataWeb.Newsletter.MailingLists
Assembly: DataWeb.Core.dll
Syntax
public class NewsletterMailingListOneTime : NewsletterMailingList
Remarks
Initializes a new instance of the NewsletterMailingListOneTime class.
Constructors
NewsletterMailingListOneTime(IServiceProvider)
A one-time implementation of a newsletter mailing list.
Declaration
public NewsletterMailingListOneTime(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | serviceProvider | The service provider used to resolve dependencies. |
Remarks
Initializes a new instance of the NewsletterMailingListOneTime class.
Methods
ProcessOnSubscriberSendCompleteAsync(string, string, CancellationToken)
Processes the completion of a send operation for a subscriber in the mailing list. Removes the subscriber from the "OneTime" group in the subscriber service.
Declaration
public override Task ProcessOnSubscriberSendCompleteAsync(string rowIdMaster, string subscriberId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | rowIdMaster | The row id master associated with the send operation. |
string | subscriberId | The id of the subscriber that completed the send operation. |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task | A task that represents the asynchronous operation. |