public void LoadFromFile() { LoadData(); this.dataView = new VerbsView(verbs); dataView.CollectionChanged += DataCollectionChange; UpdateInterface(); }
public void Build(string filePath, EmotionsRepository repos) { this.filePath = filePath; this.repos = repos; LoadData(); this.dataView = new VerbsView(verbs); this.dataView.CollectionChanged += DataCollectionChange; this.synonymsPourer.Build(new Synonyms(dataView.Verbs.Select(x => x.Text))); this.emotionsPourer.Build(new Emotions(repos)); UpdateInterface(); }