public void ReadTopics() { _topic = TopicLoader.LoadDirectory(_settings.Root); _topic.ParseAndOrder().Wait(); _topicByUrl.ClearAll(); _topic.AllTopicsInOrder().Each(x => _topicByUrl[x.Url] = x); }
public IGrammar TheTopicsAre() { return this["BuildTopic"].AsTable("The topics in this directory are") .After(() => { _top = TopicLoader.LoadDirectory(_directory); _top.ParseAndOrder().Wait(); }); }