public Workbook(String filename) { using (ExcelLoader excel = new ExcelLoader(filename, 2, 3, 4)) { foreach (ExcelSheetReader reader in excel.GetReaderEnumerator()) { if (reader.SheetName.Length == 0 || reader.SheetName[0] == '#') continue; Items.Add(reader.SheetName, new SheetData(reader)); if (Items.Count() >= Global.MaxTableCount) break; } } }
internal ExcelSheetReader(ExcelLoader parent, Sheet sheet) { ExcelLoader = parent; _sheet = sheet; }