C# Class EA.Iws.EmailMessaging.EmailService

Inheritance: IEmailService
显示文件 Open project: EnvironmentAgency/prsd-iws

Public Methods

Method Description
EmailService ( ITemplateExecutor templateExecutor, IMessageCreator messageCreator, ISender sender ) : System.Threading.Tasks
SendEmail ( string template, string mailTo, string subject, object model ) : Task

Method Details

EmailService() public method

public EmailService ( ITemplateExecutor templateExecutor, IMessageCreator messageCreator, ISender sender ) : System.Threading.Tasks
templateExecutor ITemplateExecutor
messageCreator IMessageCreator
sender ISender
return System.Threading.Tasks

SendEmail() public method

public SendEmail ( string template, string mailTo, string subject, object model ) : Task
template string
mailTo string
subject string
model object
return Task