Skip to content

Commit

Permalink
ExcelWriter code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineatstariongroup committed Dec 5, 2024
1 parent 7d33494 commit 314d399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EA-ModelKit/Services/Writer/ExcelWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Task WriteAsync(IReadOnlyDictionary<string, IReadOnlyList<ExportableObjec
/// <param name="workBook"></param>
/// <param name="workSheetName"></param>
/// <param name="exportableObjects"></param>
private static void CreateExcelWorkSheet(XLWorkbook workBook, string workSheetName, IReadOnlyList<ExportableObject> exportableObjects)
private static void CreateExcelWorkSheet(IXLWorkbook workBook, string workSheetName, IReadOnlyList<ExportableObject> exportableObjects)
{
var headerContent = exportableObjects[0].Headers;
var workSheet = workBook.AddWorksheet(workSheetName);
Expand Down

0 comments on commit 314d399

Please sign in to comment.