Example #1
0
 public static void ResetCache(ITriggerService triggerService, IApplicationState applicationState)
 {
     triggerService.UpdateCronObjects();
     EventServiceFactory.EventService.PublishEvent(EventTopicNames.ResetCache, true);
     applicationState.CurrentDepartment.PublishEvent(EventTopicNames.SelectedDepartmentChanged);
     applicationState.CurrentTicketType.PublishEvent(EventTopicNames.TicketTypeChanged);
 }
Example #2
0
 public static void ResetCache(ITriggerService triggerService, IApplicationState applicationState)
 {
     triggerService.UpdateCronObjects();
     EventServiceFactory.EventService.PublishEvent(EventTopicNames.ResetCache, true);
     applicationState.CurrentDepartment.PublishEvent(EventTopicNames.SelectedDepartmentChanged);
     applicationState.CurrentTicketType.PublishEvent(EventTopicNames.TicketTypeChanged);
 }
Example #3
0
 public PDFService(IHostsService hostService, ITriggerService triggerService, IUserRepository userRepository, IEventService eventService)
 {
     _hostService    = hostService;
     _triggerService = triggerService;
     _userRepository = userRepository;
     _eventService   = eventService;
 }
Example #4
0
 public UpdatePriceTag(IDepartmentService departmentService, IMethodQueue methodQueue, ITriggerService triggerService,
                       IApplicationState applicationState)
 {
     _departmentService = departmentService;
     _methodQueue       = methodQueue;
     _triggerService    = triggerService;
     _applicationState  = applicationState;
 }
Example #5
0
 public UpdatePriceTag(IDepartmentService departmentService, IMethodQueue methodQueue, ITriggerService triggerService,
     IApplicationState applicationState)
 {
     _departmentService = departmentService;
     _methodQueue = methodQueue;
     _triggerService = triggerService;
     _applicationState = applicationState;
 }
Example #6
0
 public ImageProcessor(ILogger <ImageProcessor> logger, IDeepStackService deepStackService,
                       ITelegramService telegramService, ITriggerService triggerService)
 {
     _logger           = logger;
     _deepStackService = deepStackService;
     _telegramService  = telegramService;
     _triggerService   = triggerService;
 }
Example #7
0
 public TriggerSession(ITriggerService triggerService, TriggerOptions options, ITriggerDiscoveryService triggerDiscoveryService, TriggerContextTracker tracker, ILogger <TriggerSession> logger)
 {
     _triggerService          = triggerService ?? throw new ArgumentNullException(nameof(triggerService));
     _options                 = options ?? throw new ArgumentNullException(nameof(options));
     _triggerDiscoveryService = triggerDiscoveryService ?? throw new ArgumentNullException(nameof(triggerDiscoveryService));
     _tracker                 = tracker ?? throw new ArgumentNullException(nameof(tracker));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Example #8
0
 public HomeController(IProjectService projectService, INodeGroupService nodeGroupService, INodeService nodeService,
                       IChannelService channelService, ITriggerService triggerService)
 {
     this.projectService   = projectService;
     this.nodeGroupService = nodeGroupService;
     this.nodeService      = nodeService;
     this.channelService   = channelService;
     this.triggerService   = triggerService;
 }
        public EditorViewModel( IPluginConfigAccessor scrollConfig, IPluginConfigAccessor keyboardTriggerConfig, ITriggerService triggerService )
        {
            _scrollConfig = scrollConfig;
            _keyboardTriggerConfig = keyboardTriggerConfig;
            _triggerService = triggerService;

            _currentIndexStrategy = StrategyBridge.AvailableStrategies.IndexOf( _scrollConfig.User.GetOrSet( "Strategy", "ZoneScrollingStrategy" ) );
            this.DisplayName = R.ScrollEditor;
        }
Example #10
0
        public ZWaveWebhookController(DefaultContext context, IJsonDatabaseService jsonDatabaseService, IZWaveAPIService zwaveAPIService, ITriggerService triggerService, IHubContext <LogHub> hubContext, IConfiguration configuration, ILogger <ZWaveWebhookController> logger)
        {
            this.logger = logger;

            this.context             = context;
            this.jsonDatabaseService = jsonDatabaseService;
            this.zwaveAPIService     = zwaveAPIService;
            this.triggerService      = triggerService;
            this.hubContext          = hubContext;
            this.configuration       = configuration;
        }
 public TriggerController(
     IMapper mapper,
     mydbContext context,
     ITriggerService triggerService,
     IUserService userService,
     IOptions <AppSettings> appSettings)
 {
     _context        = context;
     _mapper         = mapper;
     _userService    = userService;
     _triggerService = triggerService;
     _appSettings    = appSettings.Value;
 }
Example #12
0
 public UsersController(
     IUserService userService,
     ITriggerService triggerService,
     IAccessService accessService,
     IMailService mailService,
     IMapper mapper,
     mydbContext context,
     IOptions <AppSettings> appSettings)
 {
     _context        = context;
     _userService    = userService;
     _triggerService = triggerService;
     _accessService  = accessService;
     _mailService    = mailService;
     _mapper         = mapper;
     _appSettings    = appSettings.Value;
 }
Example #13
0
 public HostsService(IUserRepository userRepository, ITriggerService triggerService)
 {
     _userRepository = userRepository;
     _triggerService = triggerService;
 }
 public RefreshCache(IMethodQueue methodQueue, ITriggerService triggerService, IApplicationState applicationState)
 {
     _methodQueue      = methodQueue;
     _triggerService   = triggerService;
     _applicationState = applicationState;
 }
Example #15
0
 public RefreshCache(IMethodQueue methodQueue, ITriggerService triggerService, IApplicationState applicationState)
 {
     _methodQueue = methodQueue;
     _triggerService = triggerService;
     _applicationState = applicationState;
 }
 public TriggersController(ITriggerService service)
 {
     _service = service;
 }
Example #17
0
 public TriggerViewModel(ITriggerService triggerService, IMethodQueue methodQueue)
 {
     _triggerService       = triggerService;
     _methodQueue          = methodQueue;
     TestExpressionCommand = new CaptionCommand <string>("Test", OnTestExpression);
 }
Example #18
0
 public TriggerScheduledJob(IJsonDatabaseService jsonDatabaseService, ISunDataService sunDataService, ITriggerService triggerService)
 {
     this.jsonDatabaseService = jsonDatabaseService;
     this.sunDataService      = sunDataService;
     this.triggerService      = triggerService;
 }
 public TriggerController(ITriggerService triggerService, IMappingEngine mappingEngine)
 {
     _triggerService = triggerService;
     _mappingEngine = mappingEngine;
 }
 public TriggersController(ITriggerService triggerService)
 {
     _triggerService = triggerService;
 }
 public TriggerListViewModel(ITriggerService triggerService, IMethodQueue methodQueue)
 {
     _triggerService = triggerService;
     _methodQueue = methodQueue;
 }
Example #22
0
 public ExecuteTrigger(IHookFunction hookFunction, ITriggerService indexService)
 {
     _indexService = indexService;
     _hookFunction = hookFunction;
     _hookFunction.TriggerSaveEvent += IndexData;
 }
Example #23
0
 public TriggerListViewModel(ITriggerService triggerService)
 {
     _triggerService = triggerService;
 }
Example #24
0
 public TriggerViewModel(ITriggerService triggerService)
 {
     _triggerService       = triggerService;
     TestExpressionCommand = new CaptionCommand <string>("Test", OnTestExpression);
 }