public void SetDriver(string driverName) { IExcelTools driverObject; switch (driverName) { case "EPPlus": throw new Exception("Not implemented yet"); case "NPOI": default: driverObject = new NPOIDriver(filepath); break; } driver = driverObject; }
public ExcelMerge() { ExcelTools = new ExcelTools(); }