public void Setup(EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluator) { _evaluator = requestEvaluator; _eventWatcherManager = eventWatcherManager; SetupStartTasks(); SetupEndTasks(); }
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;; }
public Engine( IPersistence persistence, EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluatorManager) { _dataSets = new List <IDataSet>(); _persistence = persistence; _eventWatcherManager = eventWatcherManager; _requestEvaluatorManager = requestEvaluatorManager; Load(); _eventWatcherManager?.Start(); _requestEvaluatorManager?.Start(); }
public void Setup(RequestEvaluatorManager requestEvaluator) { _condition.Setup(requestEvaluator); }
public void Setup(RequestEvaluatorManager requestEvaluatorManager) { _requestEvaluator = requestEvaluatorManager.GetRequestEvaluator <SystemTimeRequestEvaluator>(); }
public void Setup(EventWatcherManager eventWatcherManager, RequestEvaluatorManager requestEvaluator) { _dataSource.Setup(eventWatcherManager, requestEvaluator); }