public DocumentModel BuildModel(IDictionary<string, IDocumentationMetadata> paths) { var reflectionModel = BuildReflectionModel(paths); var xmlModel = BuildXmlModel(paths); return DocumentModelMapper.Map(reflectionModel, xmlModel); }
public static DocumentModel Download(DirectoryPath appDataPath, NuGetConfiguration configuration) { var files = Install(configuration, appDataPath); var builder = new DocumentModelBuilder(); return builder.BuildModel(files.Select(x => x.Path.FullPath)); }