GoldbergGUI/GoldbergGUI.Core/App.cs

20 lines
525 B
C#
Raw Normal View History

2021-01-08 12:36:57 -05:00
using GoldbergGUI.Core.Utils;
using GoldbergGUI.Core.ViewModels;
using MvvmCross.IoC;
using MvvmCross.ViewModels;
namespace GoldbergGUI.Core
{
public class App : MvxApplication
{
public override void Initialize()
{
CreatableTypes()
.EndingWith("Service")
.AsInterfaces()
.RegisterAsLazySingleton();
//RegisterAppStart<MainViewModel>();
RegisterCustomAppStart<CustomMvxAppStart<MainViewModel>>();
}
}
}