public void SetUp() { document = new XmlDocument(); document.Load("Topics.xml"); var parser = new TopicParser(); theTop = parser.Parse(theRootDirectory, document); }
public override bool Execute(BuildTopicsInput input) { var directory = input.DetermineDocumentsFolder(); var parser = new TopicParser(); var request = parser.Parse(directory); if (request == null) { return(true); // Nothing to do here, go away } writeRequest(request); WriteRelationships(request); return(true); }