Init commit
This commit is contained in:
commit
0c711f7da6
26 changed files with 1733 additions and 0 deletions
20
GoldbergGUI.Core/App.cs
Normal file
20
GoldbergGUI.Core/App.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
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>>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue