public virtual bool Setup( IPluginSetupInfo info ) { _predictedList = new ObservableCollection<IWordPredicted>(); _wordPredictedCollection = new WordPredictedCollection( _predictedList ); return true; }
public virtual void Start() { List<IWordPredicted> internalList = new List<IWordPredicted>( Feature.Service.MaxSuggestedWords ); _predictedList = new FastObservableCollection<IWordPredicted>( internalList ); _wordPredictedCollection = new WordPredictedCollection( _predictedList ); LoadEngine(); TextualContextService.TextualContextChanged += OnTextualContextServiceChanged; Feature.Service.PropertyChanged += OnFeaturePropertyChanged; }