public virtual List <MdFile> Convert(string xmlContent) { var xmlDocument = xmlManager.GetXDocumentFromXmlContent(xmlContent); var documents = GetAssemblesWithDocuments(xmlDocument); if (documents == null || documents.Count == 0) { return(null); } var mdContents = new List <MdFile>(); foreach (var document in documents) { var node = document.Value.Root; var convertedMdContent = documentProcessor.ConvertDocumentToMarkDown(node); mdContents.Add(new MdFile(document.Key, convertedMdContent)); } return(mdContents); }