示例#1
0
        public bool HasExcelKey(string excelName, string key)
        {
            TestExcelData excelData = null;

            if (_excelMaps.TryGetValue(excelName, out excelData))
            {
                return(excelData.ContainKey(key));
            }
            return(false);
        }
示例#2
0
 public void OnConvertExcelStart(string excelName)
 {
     excelName      = System.IO.Path.GetFileNameWithoutExtension(excelName);
     _tempExcelData = new TestExcelData(excelName);
     _excelMaps.Add(excelName, _tempExcelData);
 }