Recent Items

This commit is contained in:
Jöran Malek 2024-02-10 23:47:45 +01:00
parent 2529b728ba
commit f703567aed
10 changed files with 62 additions and 12 deletions

View file

@ -2,11 +2,12 @@ using InkForge.Common.Controllers;
using InkForge.Common.Data;
using InkForge.Common.ViewModels;
using InkForge.Common.ViewModels.Landing;
using InkForge.Common.Views;
using InkForge.Data;
using ReactiveUI;
using Splat;
namespace Microsoft.Extensions.DependencyInjection;
public static class InkForgeServiceCollections
@ -21,7 +22,7 @@ public static class InkForgeServiceCollections
services.AddSingleton<LandingViewModelFactory>();
services.AddSingleton<WorkspaceController>();
services.AddTransient<IViewFor<LandingViewModel>, LandingView>();
Locator.CurrentMutable.RegisterViewsForViewModels(typeof(InkForgeServiceCollections).Assembly);
return services;
}