예제 #1
0
 public NotificationService(ILogger <NotificationService> logger, ISubscritionRepository subscritionRepository, INotificationRepository notificationRepository, INudgeRepository nudgeRepository)
 {
     this.SubscritionRepository  = subscritionRepository;
     this.NotificationRepository = notificationRepository;
     this.NudgeRepository        = nudgeRepository;
     this.logger = logger;
 }
예제 #2
0
 public AnalysisService(IWeatherService weather, INudgeRepository nudge, INudgeOracleRepository nudgeOracle)
 {
     this.WeatherService        = weather;
     this.NudgeRepository       = nudge;
     this.nudgeOracleRepository = nudgeOracle;
 }
예제 #3
0
 public NudgeService(INudgeRepository nudgeRepository, IPreferencesRepository preferencesRepository, INudgeOracleRepository anonymousNudgesRepository)
 {
     this.NudgeRepository                = nudgeRepository;
     this.PreferencesRepository          = preferencesRepository;
     this.AnonymousNudgeOracleRepository = anonymousNudgesRepository;
 }