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