Exemplo n.º 1
0
 public AccountService(
     IDinnerPrincipalProvider principalProvider,
     IAuthStorage authStorage,
     IPasswordHashProvider passwordHashProvider,
     IUserDinnerStorage userDinnerStorage,
     IRandomStringGenerator stringGenerator,
     IEmailSystem emailSystem)
 {
     this.principalProvider    = principalProvider;
     this.authStorage          = authStorage;
     this.passwordHashProvider = passwordHashProvider;
     this.userDinnerStorage    = userDinnerStorage;
     this.stringGenerator      = stringGenerator;
     this.emailSystem          = emailSystem;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationService"/> class.
 /// </summary>
 /// <param name="notificationStorage">The notification storage.</param>
 /// <param name="emailSystem">The email system.</param>
 /// <param name="calendarService">The calendar service.</param>
 public NotificationService(INotificationStorage notificationStorage, IEmailSystem emailSystem, ICalendarService calendarService)
 {
     this.notificationStorage = notificationStorage;
     this.emailSystem         = emailSystem;
     this.calendarService     = calendarService;
 }
Exemplo n.º 3
0
 public HomeController(IEmailSystem mailzor)
 {
     _mailzor = mailzor;
 }
Exemplo n.º 4
0
 public AdminNotificationController(IEmailSystem emailSystem)
 {
     EmailSystem = emailSystem;
 }
Exemplo n.º 5
0
 public HomeController(IEmailSystem mailzor)
 {
     _mailzor = mailzor;
 }