GoldbergGUI/GoldbergGUI.Core/App.cs

19 lines
476 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();
RegisterCustomAppStart<CustomMvxAppStart<MainViewModel>>();
}
}
}