Exemple #1
0
        public KeywordManager(KeywordChangeNotifier keywordChangeNotifier, PageChangeNotifier pageChangeNotifier,
                              BeforeKeywordChangeNotifier beforeKeywordChangeNotifier, ILog log)
        {
            _log = log;
            _keywordChangeNotifierUnsubscriber       = keywordChangeNotifier.Subscribe(this);
            _pageChangeNotifierUnsubscriber          = pageChangeNotifier.Subscribe(this);
            _beforeKeywordChangeNotifierUnsubscriber = beforeKeywordChangeNotifier.Subscribe(this);

            // NOTE: should be executed once at startup to fixed already installed packages
            FixMissingHomePages();
        }
Exemple #2
0
 public KeywordManager(KeywordChangeNotifier changeNotifier, ILog log)
 {
     _log = log;
     _notifierUnsubscriber = changeNotifier.Subscribe(this);
 }