using System; using System.Collections.Generic; using System.IO; using System.Text; using XYY.Core.Standard.ExcelHelper.MSExcelHelper; namespace XYY.Core.Standard.ExcelHelper.MSExcelHelper { public interface IExcelHelper { string OutData(List data) where Mapping : MSExcelClassMapping; string OutData(List data, string fileName) where Mapping : MSExcelClassMapping; List LoadData(string fileName) where Mapping : MSExcelClassMapping; List LoadDataByByte(byte[] data) where Mapping : MSExcelClassMapping; byte[] OutDataAsByte(List data) where Mapping : MSExcelClassMapping; byte[] OutDataAsByte(List data, Mapping mapping) where Mapping : MSExcelClassMapping; byte[] OutLocalTableDataByte(System.Data.DataTable data); string OutLocalTableData(System.Data.DataTable data); string OutLocalData(List data, Mapping mapping) where Mapping : MSExcelClassMapping; string OutLocalData(List data) where Mapping : MSExcelClassMapping; List LoadDataAsStream(Stream stream) where Mapping : MSExcelClassMapping; byte[] OutDataAsByte(List data, List> list); } }