public bool HasExcelKey(string excelName, string key) { TestExcelData excelData = null; if (_excelMaps.TryGetValue(excelName, out excelData)) { return(excelData.ContainKey(key)); } return(false); }
public void OnConvertExcelStart(string excelName) { excelName = System.IO.Path.GetFileNameWithoutExtension(excelName); _tempExcelData = new TestExcelData(excelName); _excelMaps.Add(excelName, _tempExcelData); }