GoldbergGUI/GoldbergGUI.Core/App.cs
2021-01-08 18:36:57 +01:00

20 lines
525 B
C#

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>>();
}
}
}