C# Class TeamBins.Services.EmailManager

Inheritance: IEmailManager
显示文件 Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
EmailManager ( IEmailRepository emailRepository, IOptions settings, ITeamRepository teamRepository ) : System
Send ( Email email ) : System.Threading.Tasks.Task
SendAccountCreatedEmail ( UserDto newUser ) : System.Threading.Tasks.Task
SendIssueCreatedEmail ( IssueDetailVM issue, int teamId ) : System.Threading.Tasks.Task

Private Methods

Method Description
SendEmail ( Email email ) : void

Method Details

EmailManager() public method

public EmailManager ( IEmailRepository emailRepository, IOptions settings, ITeamRepository teamRepository ) : System
emailRepository IEmailRepository
settings IOptions
teamRepository ITeamRepository
return System

Send() public method

public Send ( Email email ) : System.Threading.Tasks.Task
email Email
return System.Threading.Tasks.Task

SendAccountCreatedEmail() public method

public SendAccountCreatedEmail ( UserDto newUser ) : System.Threading.Tasks.Task
newUser UserDto
return System.Threading.Tasks.Task

SendIssueCreatedEmail() public method

public SendIssueCreatedEmail ( IssueDetailVM issue, int teamId ) : System.Threading.Tasks.Task
issue TeamBins.Common.ViewModels.IssueDetailVM
teamId int
return System.Threading.Tasks.Task