public MailerAsyncProxy(
            INotificationMailRepository notificationMailRepository,
            INotificationEmailDescriber notificationEmailDescriber)
        {
            Require.NotNull(notificationMailRepository, nameof(notificationMailRepository));
            Require.NotNull(notificationEmailDescriber, nameof(notificationEmailDescriber));

            _notificationMailRepository = notificationMailRepository;
            _notificationEmailDescriber = notificationEmailDescriber;
        }
Beispiel #2
0
        public MailerAsyncProxy(
            INotificationMailRepository notificationMailRepository,
            INotificationEmailDescriber notificationEmailDescriber)
        {
            Require.NotNull(notificationMailRepository, nameof(notificationMailRepository));
            Require.NotNull(notificationEmailDescriber, nameof(notificationEmailDescriber));

            _notificationMailRepository = notificationMailRepository;
            _notificationEmailDescriber = notificationEmailDescriber;
        }
Beispiel #3
0
        public Mailer(MailerSettings mailerSettings, INotificationEmailDescriber notificationEmailDescriber,
            IUserRepository usersRepository)
        {
            Require.NotNull(mailerSettings, nameof(mailerSettings));
            Require.NotNull(notificationEmailDescriber, nameof(notificationEmailDescriber));
            Require.NotNull(usersRepository, nameof(usersRepository));

            _mailerSettings = mailerSettings;
            _notificationEmailDescriber = notificationEmailDescriber;
            _usersRepository = usersRepository;
        }
Beispiel #4
0
        public Mailer(MailerSettings mailerSettings, INotificationEmailDescriber notificationEmailDescriber,
                      IUserRepository usersRepository)
        {
            Require.NotNull(mailerSettings, nameof(mailerSettings));
            Require.NotNull(notificationEmailDescriber, nameof(notificationEmailDescriber));
            Require.NotNull(usersRepository, nameof(usersRepository));

            _mailerSettings             = mailerSettings;
            _notificationEmailDescriber = notificationEmailDescriber;
            _usersRepository            = usersRepository;
        }