DataWeb
Search Results for

    Show / Hide Table of Contents

    Class NewsletterEventHandler

    Provides methods for handling the newsletter events process.

    Inheritance
    object
    NewsletterEventHandler
    Implements
    INewsletterEventHandler
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Newsletter
    Assembly: DataWeb.Core.dll
    Syntax
    public class NewsletterEventHandler : INewsletterEventHandler

    Methods

    ProcessOnBatchSaveAsync(string, List<NewsletterEventBatchInsert>, CancellationToken)

    Process a batch of newsletter events for the specified row identifier.

    Declaration
    public Task ProcessOnBatchSaveAsync(string rowIdMaster, List<NewsletterEventBatchInsert> events, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string rowIdMaster

    The row identifier to associate the newsletter events with.

    List<NewsletterEventBatchInsert> events

    The list of NewsletterEventBatchInsert to insert.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task

    ProcessOnSaveAsync(string, string, NewsletterEventType, string, string, CancellationToken)

    Process a new newsletter event.

    Declaration
    public Task ProcessOnSaveAsync(string eventId, string email, NewsletterEventType eventType, string description = null, string rowIdMaster = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string eventId

    The event id associated with the newsletter event.

    string email

    The email address associated with the newsletter event.

    NewsletterEventType eventType

    The NewsletterEventType of the newsletter event.

    string description

    The optional description of the newsletter event.

    string rowIdMaster

    The optional row identifier associated with the newsletter event.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task

    Implements

    INewsletterEventHandler
    In this article
    Back to top Generated by DocFX