Skip to content

Commit

Permalink
feat: application logbook
Browse files Browse the repository at this point in the history
changes:
- service collection extension modified
- dependency injection tests modified

closes #14
  • Loading branch information
BoBoBaSs84 committed Jun 26, 2024
1 parent d04f885 commit a6e18f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ internal static class ServiceCollectionExtensions
/// <returns>The enriched service collection.</returns>
internal static IServiceCollection RegisterViewModels(this IServiceCollection services)
{
services.TryAddSingleton<AchievementsViewModel>();
services.TryAddSingleton<AboutViewModel>();
services.TryAddSingleton<AchievementsViewModel>();
services.TryAddSingleton<GamesViewModel>();
services.TryAddSingleton<LogbookViewModel>();
services.TryAddSingleton<MainViewModel>();
services.TryAddSingleton<SettingsViewModel>();
services.TryAddSingleton<UserDataViewModel>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public void RegisterApplicationServicesTest()

services.RegisterApplicationServices();

Assert.AreEqual(40, services.Count);
Assert.AreEqual(41, services.Count);
}
}

0 comments on commit a6e18f8

Please sign in to comment.