C# Class NewsletterStudioContrib.SubscriptionProviders.DownloadSubscriptionProvider

This class demonstrates a simple approach do implement a custom subscription provider that downloads the list of emails from an external web-page. Probably not a real world scenario so think of this class more as a demonstration of what can be done.
Inheritance: SubscriptionProviderBase
Afficher le fichier Open project: enkelmedia/NewsletterStudioContrib

Méthodes publiques

Méthode Description
GetEditUrl ( string subscriptionId, string email ) : string
GetListItems ( ) : IEnumerable
GetSubscribersForSendOut ( string listItemValue, SendOutParams parameters ) : List
Unsubscribe ( string email ) : bool
Unsubscribe ( string email, string subscriptionId ) : bool

Method Details

GetEditUrl() public méthode

public GetEditUrl ( string subscriptionId, string email ) : string
subscriptionId string
email string
Résultat string

GetListItems() public méthode

public GetListItems ( ) : IEnumerable
Résultat IEnumerable

GetSubscribersForSendOut() public méthode

public GetSubscribersForSendOut ( string listItemValue, SendOutParams parameters ) : List
listItemValue string
parameters SendOutParams
Résultat List

Unsubscribe() public méthode

public Unsubscribe ( string email ) : bool
email string
Résultat bool

Unsubscribe() public méthode

public Unsubscribe ( string email, string subscriptionId ) : bool
email string
subscriptionId string
Résultat bool