DataWeb
Search Results for

    Show / Hide Table of Contents

    Interface INewsletterEventHandler

    Provides methods for handling the newsletter events process.

    Namespace: DataWeb.Newsletter
    Assembly: DataWeb.Core.dll
    Syntax
    public interface INewsletterEventHandler

    Methods

    ProcessOnBatchSaveAsync(string, List<NewsletterEventBatchInsert>, CancellationToken)

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

    Declaration
    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
    Task ProcessOnSaveAsync(string eventId, string email, NewsletterEventType eventType, string description = null, string rowIdMaster = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string eventId

    The 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
    In this article
    Back to top Generated by DocFX