Converts classic NCover format and returns OpenCover format.
The classic NCover format input either may be as an XDocument from the object pipeline or from a file.
Writes the OpenCover format report to the pipeline as an XDocument, and, optionally, to a file. The report will contain data for the assemblies listed as the -Assembly argument and that are in the NCover input.
public static XDocument ConvertFromNCover(XDocument document, IEnumerable<string> assemblies)
| parameter | description |
|---|---|
| document | The report to convert. |
| assemblies | The assemblies contributing to the report. |
The converted document