C# Class CapRaffle.Domain.Implementation.EmailSender

Inheritance: IEmailSender
Afficher le fichier Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Méthodes publiques

Méthode Description
EmailSender ( ) : System
ForgotPassword ( string email, string newPassword ) : bool
NotifyCreator ( Event selectedEvent ) : bool
NotifyLooser ( UserEvent looser ) : bool
NotifyWinner ( Winner winner ) : bool

Private Methods

Méthode Description
GenerateCalendarEvent ( Event winnerEvent ) : string
GetWinnerTable ( IEnumerable winners ) : string
SendEmail ( MailMessage mailMessage ) : bool
SetUpSmtpClient ( ) : void
ToCalendarDateString ( System.DateTime dateTime ) : string

Method Details

EmailSender() public méthode

public EmailSender ( ) : System
Résultat System

ForgotPassword() public méthode

public ForgotPassword ( string email, string newPassword ) : bool
email string
newPassword string
Résultat bool

NotifyCreator() public méthode

public NotifyCreator ( Event selectedEvent ) : bool
selectedEvent CapRaffle.Domain.Model.Event
Résultat bool

NotifyLooser() public méthode

public NotifyLooser ( UserEvent looser ) : bool
looser CapRaffle.Domain.Model.UserEvent
Résultat bool

NotifyWinner() public méthode

public NotifyWinner ( Winner winner ) : bool
winner CapRaffle.Domain.Model.Winner
Résultat bool