Skip to content

Commit

Permalink
Add German Trade Republic Parser to Program.cs (#316)
Browse files Browse the repository at this point in the history
* oops, register german language parser in Program.cs

* oops

---------

Co-authored-by: mbks <mbks@mbks.mbks>
  • Loading branch information
mbks and mbks authored Nov 11, 2024
1 parent d150200 commit 933210d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion GhostfolioSidekick.UnitTests/ProgramTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void CheckIfEverythingIsRegistered()

[Theory]
[InlineData(typeof(IScheduledWork), 9)]
[InlineData(typeof(IFileImporter), 19)]
[InlineData(typeof(IFileImporter), 20)]
[InlineData(typeof(IHoldingStrategy), 7)]
public void CheckIfAllServicesAreRegistered(Type interfaceName, int count)
{
Expand Down
1 change: 1 addition & 0 deletions GhostfolioSidekick/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ internal static IHostBuilder CreateHostBuilder()
services.AddScoped<IFileImporter, StockSplitParser>();
services.AddScoped<IFileImporter, TradeRepublicInvoiceParserEN>();
services.AddScoped<IFileImporter, TradeRepublicInvoiceParserNL>();
services.AddScoped<IFileImporter, TradeRepublicInvoiceParserDE>();
services.AddScoped<IFileImporter, TradeRepublicStatementParserNL>();
services.AddScoped<IFileImporter, Trading212Parser>();
Expand Down

0 comments on commit 933210d

Please sign in to comment.