コード例 #1
0
 public void Setup(EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluator)
 {
     _evaluator           = requestEvaluator;
     _eventWatcherManager = eventWatcherManager;
     SetupStartTasks();
     SetupEndTasks();
 }
コード例 #2
0
 public void Setup(EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluator)
 {
     _evaluator                   = requestEvaluator;
     _eventWatcherManager         = eventWatcherManager;
     _focusChangeWatcher          = _eventWatcherManager.GetWatcher(new AppFocusSocket(new Always <string>(true), new Always <string>(true)));
     _titleChangeWatcher          = _eventWatcherManager.GetWatcher(new AppTitleSocket(new Always <string>(true), new Always <string>(true)));
     _focusChangeWatcher.OnEvent += _focusChangeWatcher_OnEvent;
     _titleChangeWatcher.OnEvent += _titleChangeWatcher_OnEvent;;
 }
コード例 #3
0
        public Engine(
            IPersistence persistence,
            EventWatcherManager eventWatcherManager,
            RequestEvaluatorManager requestEvaluatorManager)
        {
            _dataSets = new List <IDataSet>();

            _persistence             = persistence;
            _eventWatcherManager     = eventWatcherManager;
            _requestEvaluatorManager = requestEvaluatorManager;


            Load();
            _eventWatcherManager?.Start();
            _requestEvaluatorManager?.Start();
        }
コード例 #4
0
ファイル: Trigger.cs プロジェクト: Timmoth/ChartATask
 public void Setup(RequestEvaluatorManager requestEvaluator)
 {
     _condition.Setup(requestEvaluator);
 }
コード例 #5
0
 public void Setup(RequestEvaluatorManager requestEvaluatorManager)
 {
     _requestEvaluator =
         requestEvaluatorManager.GetRequestEvaluator <SystemTimeRequestEvaluator>();
 }
コード例 #6
0
ファイル: DataSet.cs プロジェクト: Timmoth/ChartATask
 public void Setup(EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluator)
 {
     _dataSource.Setup(eventWatcherManager, requestEvaluator);
 }