コード例 #1
0
        public void SetUp()
        {
            document = new XmlDocument();
            document.Load("Topics.xml");

            var parser = new TopicParser();
            theTop = parser.Parse(theRootDirectory, document);
        }
コード例 #2
0
        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);
        }