public Cell GenerateExportCell(T pModel)
 {
     if (ExportText != null)
     {
         return(ExcelExportHelper.CreateTextCell(ExportText(pModel)));
     }
     else
     {
         return(ExcelExportHelper.CreateTextCell(string.Empty));
     }
 }
 public object GenerateExportCell(SharedStringTableWrapper pSharedStringTablePart, Dictionary <string, int> pSstCache, T pModel)
 {
     if (ExportText != null)
     {
         return(ExcelExportHelper.CreateTextCell(pSharedStringTablePart, pSstCache, ExportText(pModel)));
     }
     else
     {
         return(ExcelExportHelper.CreateGeneralCell(string.Empty));
     }
 }