public SchedulerService(ISchedulerRepository schedulerRepository, IRoomRepository roomRepository, IMediator mediator, IRoomSchedulerRepository roomSchedulerRepository)
 {
     _schedulerRepository     = schedulerRepository;
     _roomRepository          = roomRepository;
     _mediator                = mediator;
     _roomSchedulerRepository = roomSchedulerRepository;
 }
Beispiel #2
0
 public SchedulerService(ISchedulerRepository schedulerRepository, IDataMapper mapper, ITimeSheetRepository timeSheetRepo)
     : base(schedulerRepository, mapper)
 {
     this._mapper = mapper;
     this._schedulerRepository = schedulerRepository;
     this.timeSheetRepo        = timeSheetRepo;
 }
Beispiel #3
0
 public SchedulerService(ISchedulerRepository schedulerRepository, IDataMapper mapper, ITimeSheetRepository timeSheetRepo)
     : base(schedulerRepository, mapper)
 {
     this._mapper = mapper;
     this._schedulerRepository = schedulerRepository;
     this.timeSheetRepo = timeSheetRepo;
 }
Beispiel #4
0
        public SchedulerReadService(ISchedulerRepository schedulerRepository)
        {
            if (schedulerRepository == null)
            {
                throw new ArgumentException("Dependency should not be null.", "schedulerRepository");
            }

            _SchedulerRepository = schedulerRepository;
        }
        public SchedulerReadService(ISchedulerRepository schedulerRepository)
        {
            if (schedulerRepository == null)
            {
                throw new ArgumentException("Dependency should not be null.", "schedulerRepository");
            }

            _SchedulerRepository = schedulerRepository;
        }
 public SchedulerController(ISchedulerRepository repository, ILogger log, ISession session, IDonationDetailsRepository donationDetailsRepository, IDonationRepository donationRepository)
     : base(repository, log)
 {
     this.log                       = log;
     this.session                   = session;
     this.repository                = repository;
     this.donationRepository        = donationRepository;
     this.donationDetailsRepository = donationDetailsRepository;
 }
Beispiel #7
0
        // Methods.
        public Job(ISchedulerRepository schedulerRepository, string name, string description, Type jobType, bool isDurable, bool isVolatile, JobGroup jobGroup)
        {
            _SchedulerRepository = schedulerRepository;

            Name        = name;
            Description = description;
            JobType     = jobType;
            IsDurable   = isDurable;
            IsVolatile  = isVolatile;
            JobGroup    = jobGroup;
        }
Beispiel #8
0
        // Methods.
        public Job(ISchedulerRepository schedulerRepository, string name, string description, Type jobType, bool isDurable, bool isVolatile, JobGroup jobGroup)
        {
            _SchedulerRepository = schedulerRepository;

            Name = name;
            Description = description;
            JobType = jobType;
            IsDurable = isDurable;
            IsVolatile = isVolatile;
            JobGroup = jobGroup;
        }
Beispiel #9
0
        public AssociateService(IAssociateRepository repository, IDataMapper mapper, IEmailService emailService, IAssociateReferenceRepository associateRefRepo, ISchedulerRepository schedulerRepo)
            : base(repository, mapper)
        {
            this.associateRepo      = repository;
            this.dataMapper         = mapper;
            this.emailService       = emailService;
            this.associateRefRepo   = associateRefRepo;
            this.schedulerRepo      = schedulerRepo;
            this.nonArchiveStatuses = new List <AssociateApprovalStatus>();

            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Accepted);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Approved);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.NotSet);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingAcceptance);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.PendingApproval);
            this.nonArchiveStatuses.Add(AssociateApprovalStatus.Registered);
        }
 public SchedulerController(ISchedulerRepository scheduler)
 {
     Scheduler = scheduler;
 }
 public CapacityController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
 public SchedulerQueryHandler(ISchedulerRepository schedulerRepository)
 {
     _schedulerRepository = schedulerRepository;
 }
Beispiel #13
0
        // Methods.
        public JobGroup(ISchedulerRepository schedulerRepository, string name)
        {
            _SchedulerRepository = schedulerRepository;

            Name = name;
        }
 public ScheduledTasksController(ISchedulerRepository repo)
 {
     _repo = repo;
 }
Beispiel #15
0
 public AssignmentController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Beispiel #16
0
        // Methods.
        public JobGroup(ISchedulerRepository schedulerRepository, string name)
        {
            _SchedulerRepository = schedulerRepository;

            Name = name;
        }
Beispiel #17
0
 public TaskTypeController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Beispiel #18
0
 // Methods.
 public Scheduler(ISchedulerRepository schedulerRepository)
 {
     _SchedulerRepository = schedulerRepository;
 }
Beispiel #19
0
 public SchedulerService(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Beispiel #20
0
 public HomeController(ISchedulerRepository repo) /* IRepository i svi njegovi dependenciji ce
                                                   * se kreirati pri pozivu ( npr context )
                                                   */
 {
     _repo = repo;
 }
Beispiel #21
0
 public EventsController(ISchedulerRepository repo)
 {
     _repo = repo;
 }
 public ShiftController(IShiftService shiftService, ISchedulerRepository schedulerRepository)
 {
     this.shiftService        = shiftService;
     this.schedulerRepository = schedulerRepository;
 }
 public ShiftService(IEngineersRepository engineersRepository, ISchedulerRepository schedulerRepository, IShiftRepository shiftRepository)
 {
     this.engineersRepository = engineersRepository;
     this.schedulerRepository = schedulerRepository;
     this.shiftRepository     = shiftRepository;
 }
 public SlotController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
 public SchedulerController(ISchedulerRepository schedulerRepository, ICallsRepository callRepository)
 {
     _schedulerRepository = schedulerRepository;
     _callRepository      = callRepository;
 }
Beispiel #26
0
 // Methods.
 public Scheduler(ISchedulerRepository schedulerRepository)
 {
     _SchedulerRepository = schedulerRepository;
 }
Beispiel #27
0
 public PersonController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
 public SchedulerService(ISchedulerRepository schedulerRepository)
 {
     _schedulerRepository = schedulerRepository;
 }
Beispiel #29
0
 public HomeController(ISchedulerRepository repo)
 {
     _repo = repo;
 }