コード例 #1
0
ファイル: ExpirationChecker.cs プロジェクト: spapaseit/qoam
        public ExpirationChecker(IBaseScoreCardRepository baseScoreCardRepository, ExpirationCheckerNotification expirationCheckerNotification, ExpirationCheckerSettings expirationCheckerSettings, IMailSender mailSender)
        {
            Requires.NotNull(baseScoreCardRepository, nameof(baseScoreCardRepository));
            Requires.NotNull(expirationCheckerNotification, nameof(expirationCheckerNotification));
            Requires.NotNull(expirationCheckerSettings, nameof(expirationCheckerSettings));
            Requires.NotNull(mailSender, nameof(mailSender));

            this.baseScoreCardRepository       = baseScoreCardRepository;
            this.expirationCheckerNotification = expirationCheckerNotification;
            this.expirationCheckerSettings     = expirationCheckerSettings;
            this.mailSender = mailSender;
        }
コード例 #2
0
        public ExpirationChecker(IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, ExpirationCheckerNotification expirationCheckerNotification, ExpirationCheckerSettings expirationCheckerSettings, IMailSender mailSender)
        {
            Requires.NotNull(baseScoreCardRepository, "baseScoreCardRepository");
            Requires.NotNull(valuationScoreCardRepository, "valuationScoreCardRepository");
            Requires.NotNull(expirationCheckerNotification, "expirationCheckerNotification");
            Requires.NotNull(expirationCheckerSettings, "expirationCheckerSettings");
            Requires.NotNull(mailSender, "mailSender");

            this.baseScoreCardRepository       = baseScoreCardRepository;
            this.valuationScoreCardRepository  = valuationScoreCardRepository;
            this.expirationCheckerNotification = expirationCheckerNotification;
            this.expirationCheckerSettings     = expirationCheckerSettings;
            this.mailSender = mailSender;
        }
コード例 #3
0
        public ExpirationChecker(IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, ExpirationCheckerNotification expirationCheckerNotification, ExpirationCheckerSettings expirationCheckerSettings, IMailSender mailSender)
        {
            Requires.NotNull(baseScoreCardRepository, "baseScoreCardRepository");
            Requires.NotNull(valuationScoreCardRepository, "valuationScoreCardRepository");
            Requires.NotNull(expirationCheckerNotification, "expirationCheckerNotification");
            Requires.NotNull(expirationCheckerSettings, "expirationCheckerSettings");
            Requires.NotNull(mailSender, "mailSender");

            this.baseScoreCardRepository = baseScoreCardRepository;
            this.valuationScoreCardRepository = valuationScoreCardRepository;
            this.expirationCheckerNotification = expirationCheckerNotification;
            this.expirationCheckerSettings = expirationCheckerSettings;
            this.mailSender = mailSender;
        }
コード例 #4
0
        public ExpirationCheckerNotification(ExpirationCheckerSettings expirationCheckerSettings)
        {
            Requires.NotNull(expirationCheckerSettings, "expirationCheckerSettings");

            this.expirationCheckerSettings = expirationCheckerSettings;
        }
コード例 #5
0
        public ExpirationCheckerNotification(ExpirationCheckerSettings expirationCheckerSettings)
        {
            Requires.NotNull(expirationCheckerSettings, nameof(expirationCheckerSettings));

            this.expirationCheckerSettings = expirationCheckerSettings;
        }