Example #1
0
 public EmailController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                        ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                        IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                        IUserStateService userStateService, ICommunicationService communicationService, IDistributionListsService distributionListsService,
                        IUsersService usersService, IEmailService emailService, IDepartmentGroupsService departmentGroupsService, IMessageService messageService,
                        IFileService fileService, IUnitsService unitsService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService             = callsService;
     _queueService             = queueService;
     _departmentsService       = departmentsService;
     _userProfileService       = userProfileService;
     _textCommandService       = textCommandService;
     _actionLogsService        = actionLogsService;
     _userStateService         = userStateService;
     _communicationService     = communicationService;
     _distributionListsService = distributionListsService;
     _usersService             = usersService;
     _emailService             = emailService;
     _departmentGroupsService  = departmentGroupsService;
     _messageService           = messageService;
     _fileService  = fileService;
     _unitsService = unitsService;
 }
 public UserStateListener(IUserStateService userStateService, SynchronizationContext context)
 {
     _userStateService    = userStateService;
     _context             = context;
     CurrentTimeWarpState = TimeWarpState.None;
     _timer = new Timer(OnTimerCallback);
 }
Example #3
0
 public DispatchController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IUserStateService userStateService,
     IUnitsService unitsService,
     ICallsService callsService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService,
     ICustomStateService customStateService,
     IGeoLocationProvider geoLocationProvider,
     ICqrsProvider cqrsProvider,
     IDepartmentSettingsService departmentSettingsService,
     ITemplatesService templatesService
     )
 {
     _usersService              = usersService;
     _actionLogsService         = actionLogsService;
     _departmentsService        = departmentsService;
     _userProfileService        = userProfileService;
     _userStateService          = userStateService;
     _unitsService              = unitsService;
     _callsService              = callsService;
     _departmentGroupsService   = departmentGroupsService;
     _personnelRolesService     = personnelRolesService;
     _customStateService        = customStateService;
     _geoLocationProvider       = geoLocationProvider;
     _cqrsProvider              = cqrsProvider;
     _departmentSettingsService = departmentSettingsService;
     _templatesService          = templatesService;
 }
Example #4
0
 public BigBoardController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IUserStateService userStateService,
     IUnitsService unitsService,
     ICallsService callsService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService,
     ICustomStateService customStateService,
     IDepartmentSettingsService departmentSettingsService,
     IGeoLocationProvider geoLocationProvider
     )
 {
     _usersService              = usersService;
     _actionLogsService         = actionLogsService;
     _departmentsService        = departmentsService;
     _userProfileService        = userProfileService;
     _userStateService          = userStateService;
     _unitsService              = unitsService;
     _callsService              = callsService;
     _departmentGroupsService   = departmentGroupsService;
     _personnelRolesService     = personnelRolesService;
     _customStateService        = customStateService;
     _departmentSettingsService = departmentSettingsService;
     _geoLocationProvider       = geoLocationProvider;
 }
Example #5
0
 public HomeController(IDepartmentsService departmentsService, IUsersService usersService, IActionLogsService actionLogsService,
                       IUserStateService userStateService, IDepartmentGroupsService departmentGroupsService, Resgrid.Model.Services.IAuthorizationService authorizationService,
                       IUserProfileService userProfileService, ICallsService callsService, IGeoLocationProvider geoLocationProvider, IDepartmentSettingsService departmentSettingsService,
                       IUnitsService unitsService, IAddressService addressService, IPersonnelRolesService personnelRolesService, IPushService pushService, ILimitsService limitsService,
                       ICustomStateService customStateService, IEventAggregator eventAggregator, IOptions <AppOptions> appOptionsAccessor, UserManager <IdentityUser> userManager)
 {
     _departmentsService        = departmentsService;
     _usersService              = usersService;
     _actionLogsService         = actionLogsService;
     _userStateService          = userStateService;
     _departmentGroupsService   = departmentGroupsService;
     _authorizationService      = authorizationService;
     _userProfileService        = userProfileService;
     _callsService              = callsService;
     _geoLocationProvider       = geoLocationProvider;
     _departmentSettingsService = departmentSettingsService;
     _unitsService              = unitsService;
     _addressService            = addressService;
     _personnelRolesService     = personnelRolesService;
     _pushService        = pushService;
     _limitsService      = limitsService;
     _customStateService = customStateService;
     _eventAggregator    = eventAggregator;
     _appOptionsAccessor = appOptionsAccessor;
     _userManager        = userManager;
 }
Example #6
0
 public UnitAppController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IWebEventPublisher webEventPublisher,
     IUserStateService userStateService,
     IUnitsService unitsService,
     ICallsService callsService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService,
     ICustomStateService customStateService,
     IGeoLocationProvider geoLocationProvider,
     ICqrsProvider cqrsProvider
     )
 {
     _usersService            = usersService;
     _actionLogsService       = actionLogsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _webEventPublisher       = webEventPublisher;
     _userStateService        = userStateService;
     _unitsService            = unitsService;
     _callsService            = callsService;
     _departmentGroupsService = departmentGroupsService;
     _personnelRolesService   = personnelRolesService;
     _customStateService      = customStateService;
     _geoLocationProvider     = geoLocationProvider;
     _cqrsProvider            = cqrsProvider;
 }
Example #7
0
 public StatusScheduleLogic()
 {
     _userStateService      = Bootstrapper.GetKernel().Resolve <IUserStateService>();
     _scheduledTasksService = Bootstrapper.GetKernel().Resolve <IScheduledTasksService>();
     _departmentsService    = Bootstrapper.GetKernel().Resolve <IDepartmentsService>();
     _actionLogsService     = Bootstrapper.GetKernel().Resolve <IActionLogsService>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserController"></see> class.
 /// </summary>
 public UserController(IUserStateService userStateService,
                       IIdentityService identityService,
                       IOptions <Metadata> options)
 {
     this.userStateService = userStateService;
     this.identityService  = identityService;
     this.options          = options;
 }
Example #9
0
        public VsWorkStarter(IUserStateService userStateService, IUiAuthenticationService authenticationService, IDteTrigger dtetrigger)
        {
            _authenticationService = authenticationService;
            _dtetrigger            = dtetrigger;
            _userStateService      = userStateService;

            _dtetrigger = dtetrigger;
            _dtetrigger.OnDteTrigger += OnDteTrigger;
            _userStateService.QueryUserStatusCompleted += HandleQueryUserStatusCompleted;
        }
Example #10
0
 public SlideService(
     ISettingsRepository settingsRepository,
     ISlideRepository menuSlideRepository,
     IMenuRepository menuRepository,
     IUserStateService stateService)
 {
     this._settingsRepository  = settingsRepository;
     this._menuSlideRepository = menuSlideRepository;
     this._menuRepository      = menuRepository;
     this.stateService         = stateService;
 }
Example #11
0
 public AuthController(
     IUserAccountsService userAccounts,
     IAccessTokenService tokenService,
     IUserStateService userStateService,
     IUserService userService)
 {
     _userAccounts     = userAccounts;
     _tokenService     = tokenService;
     _userStateService = userStateService;
     _userService      = userService;
 }
Example #12
0
 public StaffingController(
     IUsersService usersService,
     IDepartmentsService departmentsService,
     IUserStateService userStateService,
     IUserProfileService userProfileService,
     IAuthorizationService authorizationService)
 {
     _usersService         = usersService;
     _departmentsService   = departmentsService;
     _userStateService     = userStateService;
     _userProfileService   = userProfileService;
     _authorizationService = authorizationService;
 }
Example #13
0
 /// <summary>
 /// Operations to perform against the department links system. Department Links allow departments to
 /// share data to other departments, for example calls or resource orders.
 /// </summary>
 public LinksController(IDepartmentsService departmentsService, IDepartmentLinksService departmentLinksService, ILimitsService limitsService,
                        ICallsService callsService, IUserProfileService userProfileService, IGeoLocationProvider geoLocationProvider, IUnitsService unitsService,
                        IActionLogsService actionLogsService, IUserStateService userStateService)
 {
     _departmentsService     = departmentsService;
     _departmentLinksService = departmentLinksService;
     _limitsService          = limitsService;
     _callsService           = callsService;
     _userProfileService     = userProfileService;
     _geoLocationProvider    = geoLocationProvider;
     _unitsService           = unitsService;
     _actionLogsService      = actionLogsService;
     _userStateService       = userStateService;
 }
Example #14
0
 public LinksController(IDepartmentLinksService departmentLinksService, IDepartmentsService departmentsService, IEmailService emailService,
                        ICallsService callsService, IUnitsService unitsService, IActionLogsService actionLogsService, IDepartmentGroupsService departmentGroupsService,
                        IUserStateService userStateService, IPersonnelRolesService personnelRolesService, ILimitsService limitsService)
 {
     _departmentLinksService  = departmentLinksService;
     _departmentsService      = departmentsService;
     _emailService            = emailService;
     _callsService            = callsService;
     _unitsService            = unitsService;
     _actionLogsService       = actionLogsService;
     _departmentGroupsService = departmentGroupsService;
     _userStateService        = userStateService;
     _personnelRolesService   = personnelRolesService;
     _limitsService           = limitsService;
 }
 public StaffingSchedulesController(
     IUsersService usersService,
     IDepartmentsService departmentsService,
     IUserStateService userStateService,
     IUserProfileService userProfileService,
     IAuthorizationService authorizationService,
     IScheduledTasksService scheduledTasksService)
 {
     _usersService          = usersService;
     _departmentsService    = departmentsService;
     _userStateService      = userStateService;
     _userProfileService    = userProfileService;
     _authorizationService  = authorizationService;
     _scheduledTasksService = scheduledTasksService;
 }
        public MainWindowViewModel(IUiAuthenticationService authenticationService,
                                   IUiRoomService roomService,
                                   IUiGlobalRoomsService globalRoomsService,
                                   IUserStateService userStateService, IUiUserMessageService uiUserMessageService)
        {
            _authenticationService   = authenticationService;
            _roomService             = roomService;
            _loginViewModel          = new LoginViewModel(authenticationService);
            _roomNavigationViewModel = new RoomNavigationViewModel(roomService, globalRoomsService);
            _roomStateViewModel      = new RoomStateViewModel(_roomService, authenticationService, uiUserMessageService);
            _startStopViewModel      = new StartStopViewModel(userStateService);

            ShowLogin();

            _authenticationService.LoginCompleted += HandleLoginCompleted;
        }
Example #17
0
 public TextMessagesController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                               ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                               IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                               IUserStateService userStateService, ICommunicationService communicationService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService         = callsService;
     _queueService         = queueService;
     _departmentsService   = departmentsService;
     _userProfileService   = userProfileService;
     _textCommandService   = textCommandService;
     _actionLogsService    = actionLogsService;
     _userStateService     = userStateService;
     _communicationService = communicationService;
 }
Example #18
0
 public UnitsService(IGenericDataRepository <Unit> unitsRepository, IUnitStatesRepository unitStatesRepository,
                     IGenericDataRepository <UnitLog> unitLogsRepository, IGenericDataRepository <UnitType> unitTypesRepository, ISubscriptionsService subscriptionsService,
                     IGenericDataRepository <UnitRole> unitRolesRepository, IGenericDataRepository <UnitStateRole> unitStateRoleRepository, IUserStateService userStateService,
                     IEventAggregator eventAggregator, ICustomStateService customStateService, IUnitLocationRepository unitLocationRepository)
 {
     _unitsRepository         = unitsRepository;
     _unitStatesRepository    = unitStatesRepository;
     _unitLogsRepository      = unitLogsRepository;
     _unitTypesRepository     = unitTypesRepository;
     _subscriptionsService    = subscriptionsService;
     _unitRolesRepository     = unitRolesRepository;
     _unitStateRoleRepository = unitStateRoleRepository;
     _userStateService        = userStateService;
     _eventAggregator         = eventAggregator;
     _customStateService      = customStateService;
     _unitLocationRepository  = unitLocationRepository;
 }
Example #19
0
 public UnitsController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IUserStateService userStateService,
     IUnitsService unitsService,
     IDepartmentGroupsService departmentGroupsService
     )
 {
     _usersService            = usersService;
     _actionLogsService       = actionLogsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _userStateService        = userStateService;
     _unitsService            = unitsService;
     _departmentGroupsService = departmentGroupsService;
 }
Example #20
0
 public UnitStateController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IUserStateService userStateService,
     IUnitsService unitsService,
     IEventAggregator eventAggregator
     )
 {
     _usersService       = usersService;
     _actionLogsService  = actionLogsService;
     _departmentsService = departmentsService;
     _userProfileService = userProfileService;
     _userStateService   = userStateService;
     _unitsService       = unitsService;
     _eventAggregator    = eventAggregator;
 }
Example #21
0
 public UnitStateController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IWebEventPublisher webEventPublisher,
     IUserStateService userStateService,
     IUnitsService unitsService
     )
 {
     _usersService       = usersService;
     _actionLogsService  = actionLogsService;
     _departmentsService = departmentsService;
     _userProfileService = userProfileService;
     _webEventPublisher  = webEventPublisher;
     _userStateService   = userStateService;
     _unitsService       = unitsService;
 }
Example #22
0
 public PersonnelController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IWebEventPublisher webEventPublisher,
     IUserStateService userStateService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService
     )
 {
     _usersService            = usersService;
     _actionLogsService       = actionLogsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _webEventPublisher       = webEventPublisher;
     _userStateService        = userStateService;
     _departmentGroupsService = departmentGroupsService;
     _personnelRolesService   = personnelRolesService;
 }
Example #23
0
 public PersonnelController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IUserStateService userStateService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService,
     IDepartmentSettingsService departmentSettingsService
     )
 {
     _usersService              = usersService;
     _actionLogsService         = actionLogsService;
     _departmentsService        = departmentsService;
     _userProfileService        = userProfileService;
     _userStateService          = userStateService;
     _departmentGroupsService   = departmentGroupsService;
     _personnelRolesService     = personnelRolesService;
     _departmentSettingsService = departmentSettingsService;
 }
Example #24
0
 public NotificationService(IDepartmentNotificationRepository departmentNotificationRepository, IDepartmentsService departmentsService,
                            IUnitsService unitsService, IUserStateService userStateService, IDepartmentGroupsService departmentGroupsService, IActionLogsService actionLogsService,
                            IPersonnelRolesService personnelRolesService, IUserProfileService userProfileService, ICalendarService calendarService, IDocumentsService documentsService,
                            INotesService notesService, IWorkLogsService workLogsService, IShiftsService shiftsService, ICustomStateService customStateService)
 {
     _departmentNotificationRepository = departmentNotificationRepository;
     _departmentsService      = departmentsService;
     _unitsService            = unitsService;
     _userStateService        = userStateService;
     _departmentGroupsService = departmentGroupsService;
     _actionLogsService       = actionLogsService;
     _personnelRolesService   = personnelRolesService;
     _userProfileService      = userProfileService;
     _calendarService         = calendarService;
     _documentsService        = documentsService;
     _notesService            = notesService;
     _workLogsService         = workLogsService;
     _shiftsService           = shiftsService;
     _customStateService      = customStateService;
 }
Example #25
0
 public StatusController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IDepartmentGroupsService departmentGroupsService,
     IUserStateService userStateService,
     IWebEventPublisher webEventPublisher,
     IAuthorizationService authorizationService,
     IOutboundEventProvider outboundEventProvider)
 {
     _usersService            = usersService;
     _actionLogsService       = actionLogsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _webEventPublisher       = webEventPublisher;
     _userStateService        = userStateService;
     _departmentGroupsService = departmentGroupsService;
     _authorizationService    = authorizationService;
     _outboundEventProvider   = outboundEventProvider;
 }
Example #26
0
 public StatusController(
     IUsersService usersService,
     IActionLogsService actionLogsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IDepartmentGroupsService departmentGroupsService,
     IUserStateService userStateService,
     IAuthorizationService authorizationService,
     IOutboundEventProvider outboundEventProvider,
     IEventAggregator eventAggregator)
 {
     _usersService            = usersService;
     _actionLogsService       = actionLogsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _userStateService        = userStateService;
     _departmentGroupsService = departmentGroupsService;
     _authorizationService    = authorizationService;
     _outboundEventProvider   = outboundEventProvider;
     _eventAggregator         = eventAggregator;
 }
Example #27
0
 public TwilioProviderController(IDepartmentSettingsService departmentSettingsService, INumbersService numbersService,
                                 ILimitsService limitsService, ICallsService callsService, IQueueService queueService, IDepartmentsService departmentsService,
                                 IUserProfileService userProfileService, ITextCommandService textCommandService, IActionLogsService actionLogsService,
                                 IUserStateService userStateService, ICommunicationService communicationService, IGeoLocationProvider geoLocationProvider,
                                 IDepartmentGroupsService departmentGroupsService, ICustomStateService customStateService, IUnitsService unitsService)
 {
     _departmentSettingsService = departmentSettingsService;
     _numbersService            = numbersService;
     _limitsService             = limitsService;
     _callsService            = callsService;
     _queueService            = queueService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _textCommandService      = textCommandService;
     _actionLogsService       = actionLogsService;
     _userStateService        = userStateService;
     _communicationService    = communicationService;
     _geoLocationProvider     = geoLocationProvider;
     _departmentGroupsService = departmentGroupsService;
     _customStateService      = customStateService;
     _unitsService            = unitsService;
 }
Example #28
0
 public DeleteService(IAuthorizationService authorizationService, IDepartmentsService departmentsService,
                      ICallsService callsService, IActionLogsService actionLogsService, IUsersService usersService,
                      IUserProfileService userProfileService, IMessageService messageService, IDepartmentGroupsService departmentGroupsService,
                      IWorkLogsService workLogsService, IUserStateService userStateService, IPersonnelRolesService personnelRolesService, IDistributionListsService distributionListsService,
                      IShiftsService shiftsService, IUnitsService unitsService, ICertificationService certificationService, ILogService logService)
 {
     _authorizationService     = authorizationService;
     _departmentsService       = departmentsService;
     _callsService             = callsService;
     _actionLogsService        = actionLogsService;
     _usersService             = usersService;
     _userProfileService       = userProfileService;
     _messageService           = messageService;
     _departmentGroupsService  = departmentGroupsService;
     _workLogsService          = workLogsService;
     _userStateService         = userStateService;
     _personnelRolesService    = personnelRolesService;
     _distributionListsService = distributionListsService;
     _shiftsService            = shiftsService;
     _unitsService             = unitsService;
     _certificationService     = certificationService;
     _logService = logService;
 }
Example #29
0
 public StationsController(
     ICallsService callsService,
     IDepartmentsService departmentsService,
     IUserProfileService userProfileService,
     IGeoLocationProvider geoLocationProvider,
     IAuthorizationService authorizationService,
     IDepartmentGroupsService departmentGroupsService,
     IPersonnelRolesService personnelRolesService,
     IUnitsService unitsService,
     IActionLogsService actionLogsService,
     IUserStateService userStateService)
 {
     _callsService            = callsService;
     _departmentsService      = departmentsService;
     _userProfileService      = userProfileService;
     _geoLocationProvider     = geoLocationProvider;
     _authorizationService    = authorizationService;
     _departmentGroupsService = departmentGroupsService;
     _personnelRolesService   = personnelRolesService;
     _unitsService            = unitsService;
     _actionLogsService       = actionLogsService;
     _userStateService        = userStateService;
 }
 public StartStopViewModel(IUserStateService userStateService)
 {
     WorkCommand = new DelegateCommand(_ =>
                                       userStateService.StartWorkAsync());
     RestCommand = new DelegateCommand(_ => userStateService.StopWorkAsync());
 }