C# Class Codestellation.Ether.MailNotifier

Inheritance: IMailNotifier, IDisposable
Show file Open project: Codestellation/Ether

Public Methods

Method Description
Dispose ( ) : void
MailNotifier ( string fromAddress, IQueue outgouingQueue, IMailingListBroker mailingListBroker, IMailTemplateEngine templateEngine ) : System
Send ( object mail ) : void

Private Methods

Method Description
ContinueSendingOrReleaseSender ( IEmailSender sender ) : void
Create ( object model ) : Email
Release ( IEmailSender sender ) : void
SendInternal ( object state ) : void
SendingCompleted ( object sender, AsyncCompletedEventArgs e ) : void
TryAcquire ( IEmailSender &sender ) : bool
TrySendNextEmailOrReleaseSender ( IEmailSender sender ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MailNotifier() public method

public MailNotifier ( string fromAddress, IQueue outgouingQueue, IMailingListBroker mailingListBroker, IMailTemplateEngine templateEngine ) : System
fromAddress string
outgouingQueue IQueue
mailingListBroker IMailingListBroker
templateEngine IMailTemplateEngine
return System

Send() public method

public Send ( object mail ) : void
mail object
return void