Ejemplo n.º 1
0
 public SpreadGetTableCollectionParams(ExportTableRow <T> exportRow, ValidationErrorStopMode validationOperator)
 {
     this._ValidationOperator = validationOperator;
     this._ExportRow          = exportRow;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///  逐行获取Table数据
 /// </summary>
 /// <typeparam name="T">待转换对象</typeparam>
 /// <param name="exportRow">导出行方法</param>
 /// <param name="upCount">验证正确条数</param>
 /// <param name="stopMode">验证出错是处理方式</param>
 /// <returns>返回所有错误日制</returns>
 public string ForEachTableRows <T>(ExportTableRow <T> exportRow, out int upCount, ValidationErrorStopMode stopMode = ValidationErrorStopMode.Continue)
 {
     return(this.ForEachTableRows(SpreadSheetAttributeHelper.GetTableDescription <T>(), new SpreadGetTableCollectionParams <T>(exportRow, stopMode), out upCount));
 }