Méthode | Description | |
---|---|---|
GetAttributeFrom ( object instance, string propertyName ) : T, |
Get's an attribute from any given property
|
|
GetDownload ( NPOI.HSSF.UserModel.HSSFWorkbook file, string fileName ) : FileStreamResult, |
Converts the NPOI workbook into a byte array for download
|
|
ToExcel ( IEnumerable, rows, string sheetName ) : FileStreamResult, |
Creates an Excel document from any IEnumerable returns a memory stream
|
public static GetAttributeFrom ( object instance, string propertyName ) : T, | ||
instance | object | |
propertyName | string | |
Résultat | T, |
public static GetDownload ( NPOI.HSSF.UserModel.HSSFWorkbook file, string fileName ) : FileStreamResult, | ||
file | NPOI.HSSF.UserModel.HSSFWorkbook | |
fileName | string | |
Résultat | FileStreamResult, |
public static ToExcel ( IEnumerable, rows, string sheetName ) : FileStreamResult, | ||
rows | IEnumerable, | IEnumerable that will be converted into an Excel worksheet |
sheetName | string | Name of the Ecel Sheet |
Résultat | FileStreamResult, |