public static CommentDocumentation ParseFile(string fileName) { using (var stream = new FileStream(fileName, FileMode.Open)) { return new CommentDocumentation(XDocument.Load(stream)); } }
public static DocumentationSet Document(Assembly assembly, string documentationPath) { return(new DocumentationSet(new StatementSet().FromAssembly(assembly), CommentDocumentation.ParseFile(documentationPath))); }