Recent Items
This commit is contained in:
parent
2529b728ba
commit
f703567aed
10 changed files with 62 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue