Exemplo n.º 1
0
 public ExcelCellInfo(ExcelInfoTypes type, ResultTypes resultType, string msg)
     : this()
 {
     InfoType   = type;
     ResultType = resultType;
     ResultMsg  = msg;
 }
Exemplo n.º 2
0
        public ExcelCellInfo(ExcelInfoTypes type, ResultTypes resultType)
            : this()
        {
            InfoType = type;

            ResultType = resultType;
        }
Exemplo n.º 3
0
        private void Error(ExcelInfoTypes type, string errorMsg, int x, int y)
        {
            ResultInfo.Success = false;
            var ErrorInfo = new ExcelCellInfo(type, errorMsg);

            ErrorInfo.RowNum  = y;
            ErrorInfo.CellNum = x + 1;
            ResultInfo.ErrorList.Add(ErrorInfo);
        }
Exemplo n.º 4
0
 private void Error(ExcelInfoTypes type, string errorMsg)
 {
     Workbook = new HSSFWorkbook();
     ResultInfo.Error(type, errorMsg);
 }
Exemplo n.º 5
0
 public void Error(ExcelInfoTypes type, string errorMsg)
 {
     this.Success = false;
     this.ErrorList.Add(new ExcelCellInfo(type, errorMsg));
 }
Exemplo n.º 6
0
 public ExcelCellInfo(ExcelInfoTypes type, string msg)
     : this(type, ResultTypes.Stop, msg)
 {
 }
Exemplo n.º 7
0
 private void Error(ExcelInfoTypes type, string errorMsg)
 {
     ResultInfo.Success = false;
     ResultInfo.ErrorList.Add(new ExcelCellInfo(type, errorMsg));
 }