Class RecipientListSettingsInfoProviderExtensions
- Namespace
- CMS.EmailMarketing
- Assembly
- CMS.EmailMarketing.dll
Contains extension methods for RecipientListSettingsInfo's IInfoProvider<TInfo>.
public static class RecipientListSettingsInfoProviderExtensions
- Inheritance
-
objectRecipientListSettingsInfoProviderExtensions
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
intcancellationToken
CancellationToken
Returns
Exceptions
- ArgumentNullException
Thrown when
infoProvider
is null.