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

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

            _SchedulerRepository = schedulerRepository;
        }
Ejemplo n.º 6
0
 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;
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 13
0
        // Methods.
        public JobGroup(ISchedulerRepository schedulerRepository, string name)
        {
            _SchedulerRepository = schedulerRepository;

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

            Name = name;
        }
Ejemplo n.º 17
0
 public TaskTypeController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Ejemplo n.º 18
0
 // Methods.
 public Scheduler(ISchedulerRepository schedulerRepository)
 {
     _SchedulerRepository = schedulerRepository;
 }
Ejemplo n.º 19
0
 public SchedulerService(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Ejemplo n.º 20
0
 public HomeController(ISchedulerRepository repo) /* IRepository i svi njegovi dependenciji ce
                                                   * se kreirati pri pozivu ( npr context )
                                                   */
 {
     _repo = repo;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 25
0
 public SchedulerController(ISchedulerRepository schedulerRepository, ICallsRepository callRepository)
 {
     _schedulerRepository = schedulerRepository;
     _callRepository      = callRepository;
 }
Ejemplo n.º 26
0
 // Methods.
 public Scheduler(ISchedulerRepository schedulerRepository)
 {
     _SchedulerRepository = schedulerRepository;
 }
Ejemplo n.º 27
0
 public PersonController(ISchedulerRepository repository)
 {
     _repository = repository;
 }
Ejemplo n.º 28
0
 public SchedulerService(ISchedulerRepository schedulerRepository)
 {
     _schedulerRepository = schedulerRepository;
 }
Ejemplo n.º 29
0
 public HomeController(ISchedulerRepository repo)
 {
     _repo = repo;
 }