示例#1
0
 /// <summary>
 /// 初始化一个<see cref="ImportExcelProcess{T}"/>类型的实例
 /// </summary>
 /// <param name="config">导入配置</param>
 /// <param name="func">获取数据方法</param>
 public ImportExcelProcess(ImportConfig <T> config, GetDataEvent <T> func)
 {
     this.Config      = config;
     this.GetDataFunc = func;
 }
示例#2
0
 /// <summary>
 /// 初始化一个<see cref="ImportExcelProcess{T}"/>类型的实例
 /// </summary>
 /// <param name="config">导入配置</param>
 /// <param name="func">导入方法</param>
 public ImportExcelProcess(ImportConfig <T> config, ImportEvent <T> func)
 {
     this.Config     = config;
     this.ImportFunc = func;
 }