/// <summary> /// Processes the topics. /// </summary> public void ProcessTopics() { if (!topicsProcessed) { // Build the topics topicBuilder = new TopicBuilder() { Namespaces = modelProcessor.Namespaces, Registry = modelProcessor.Registry }; topicBuilder.Run(Config, PageIdFunction); if (Logger.HasErrors) { Logger.Fatal("Too many errors in config file. Check previous message."); } RootTopic = topicBuilder.RootTopic; SearchTopic = topicBuilder.SearchTopic; ClassLibraryTopic = topicBuilder.ClassLibraryTopic; topicsProcessed = true; } }
/// <summary> /// Processes the topics. /// </summary> public void ProcessTopics() { if (!topicsProcessed) { // Build the topics topicBuilder = new TopicBuilder() { Namespaces = modelProcessor.Namespaces, Registry = modelProcessor.Registry }; topicBuilder.Run(Config, PageIdFunction); if (Logger.HasErrors) Logger.Fatal("Too many errors in config file. Check previous message."); RootTopic = topicBuilder.RootTopic; SearchTopic = topicBuilder.SearchTopic; ClassLibraryTopic = topicBuilder.ClassLibraryTopic; topicsProcessed = true; } }