/// <summary>
 /// Initializes a new instance of the <see cref="HtmlReportBuilder"/> class.
 /// This constructor uses the default ObjectToXmlConverterFactory instance
 /// that is available in this library.
 /// </summary>
 /// <param name="factory">The IObjectToXmlConverterFactory factory instance.
 /// Pass this param if you have implemented the IObjectToXmlConverterFactory interface.
 /// Or pass the ObjectToXmlConverterFactory object explicitly.
 /// </param>
 /// <param name="xsltPath">The XSLT filepath (optional).
 /// If not passed then the default XSLT template will be applied to prepare the report.</param>
 public HtmlReportBuilder(IObjectToXmlConverterFactory factory, string xsltPath = null)
 {
     this.factory  = factory;
     this.xsltPath = xsltPath;
 }
 public void TestInit()
 {
     factory          = new ObjectToXmlConverterFactory();
     xsdFilePath      = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "Schema\\ReviewReport.xsd");
     validationErrors = string.Empty;
 }
 public ReportXmlConverter(IObjectToXmlConverterFactory factory)
 {
     this.factory = factory;
 }