Esempio n. 1
0
        public Reminder(MeetingRepository meetingRepository)
        {
            Repository             = new NotificationRepository();
            this.meetingRepository = meetingRepository;

            timer = new Timer(Constants.NotificationInterval);

            timer.Elapsed  += OnTimedEvent;
            timer.AutoReset = true;
            timer.Enabled   = true;
        }
 public MeetingManager()
 {
     Repository = new MeetingRepository();
     Reminder   = new Reminder(Repository);
 }