Table of Contents

Class RecipientListSettingsInfoProviderExtensions

Namespace
CMS.EmailMarketing
Assembly
CMS.EmailMarketing.dll

Contains extension methods for RecipientListSettingsInfo's IInfoProvider<TInfo>.

public static class RecipientListSettingsInfoProviderExtensions
Inheritance
object
RecipientListSettingsInfoProviderExtensions

Methods

GetByRecipientListIdAsync(IInfoProvider<RecipientListSettingsInfo>, int, CancellationToken)

Gets an instance of RecipientListSettingsInfo by recipient list ID.

public static Task<RecipientListSettingsInfo> GetByRecipientListIdAsync(this IInfoProvider<RecipientListSettingsInfo> infoProvider, int recipientListId, CancellationToken cancellationToken = default)

Parameters

infoProvider IInfoProvider<RecipientListSettingsInfo>
recipientListId int
cancellationToken CancellationToken

Returns

Task<RecipientListSettingsInfo>

Exceptions

ArgumentNullException

Thrown when infoProvider is null.