예제 #1
0
 public StudentViewService(IStudentService studentService, IUserService userService, IDateTimeBroker dateTimeBroker, ILoggingBroker loggingBroker)
 {
     this.studentService = studentService;
     this.userService    = userService;
     this.dateTimeBroker = dateTimeBroker;
     this.loggingBroker  = loggingBroker;
 }
예제 #2
0
 public ExamService(IStorageBroker storageBroker,
                    ILoggingBroker loggingBroker,
                    IDateTimeBroker dateTimeBroker)
 {
     this.storageBroker  = storageBroker;
     this.loggingBroker  = loggingBroker;
     this.dateTimeBroker = dateTimeBroker;
 }
예제 #3
0
 public UserService(IUserManagementBroker userManagementBroker,
                    ILoggingBroker loggingBroker,
                    IDateTimeBroker dateTimeBroker)
 {
     this.userManagementBroker = userManagementBroker;
     this.loggingBroker        = loggingBroker;
     this.dateTimeBroker       = dateTimeBroker;
 }
예제 #4
0
 public SemesterCourseService(IStorageBroker storageBroker,
                              ILoggingBroker loggingBroker,
                              IDateTimeBroker dateTimeBroker)
 {
     this.storageBroker  = storageBroker;
     this.loggingBroker  = loggingBroker;
     this.dateTimeBroker = dateTimeBroker;
 }
예제 #5
0
 public GuardianAttachmentService(
     IStorageBroker storageBroker,
     ILoggingBroker loggingBroker,
     IDateTimeBroker dateTimeBroker)
 {
     this.storageBroker  = storageBroker;
     this.loggingBroker  = loggingBroker;
     this.dateTimeBroker = dateTimeBroker;
 }
예제 #6
0
 public CalendarEntryService(
     IStorageBroker storageBroker,
     IDateTimeBroker dateTimeBroker,
     ILoggingBroker loggingBroker)
 {
     this.storageBroker  = storageBroker;
     this.dateTimeBroker = dateTimeBroker;
     this.loggingBroker  = loggingBroker;
 }
예제 #7
0
 public StudentRegistrationService(
     IStorageBroker storageBroker,
     ILoggingBroker loggingBroker,
     IDateTimeBroker dateTimeBroker)
 {
     this.storageBroker  = storageBroker;
     this.loggingBroker  = loggingBroker;
     this.dateTimeBroker = dateTimeBroker;
 }
예제 #8
0
 public StudentGuardianService(
     IStorageBroker storageBroker,
     ILoggingBroker loggingBroker,
     IDateTimeBroker dateTimeBroker)
 {
     this.storageBroker  = storageBroker;
     this.loggingBroker  = loggingBroker;
     this.dateTimeBroker = dateTimeBroker;
 }
예제 #9
0
        public SynchronisationService(IDateTimeBroker dateTimeBroker, double interval = 1000)
        {
            clock = dateTimeBroker;
            timer = new Timer
            {
                Interval  = interval,
                AutoReset = true
            };

            timer.Elapsed += OnTimerElapsed;
            timer.Start();
        }
예제 #10
0
 public MinimumAgeHandler(IDateTimeBroker dateTimeBroker)
 {
     DateTimeBroker = dateTimeBroker;
 }