Minor changes
This commit is contained in:
parent
1c66ff2684
commit
991f52e87e
3 changed files with 3 additions and 3 deletions
20
auto-creamapi/Core/MainApplication.cs
Normal file
20
auto-creamapi/Core/MainApplication.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using auto_creamapi.ViewModels;
|
||||
using MvvmCross.IoC;
|
||||
using MvvmCross.ViewModels;
|
||||
|
||||
namespace auto_creamapi.Core
|
||||
{
|
||||
public class MainApplication : MvxApplication
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
//Mvx.IoCProvider.RegisterType<ICacheService, CacheService>();
|
||||
CreatableTypes()
|
||||
.EndingWith("Service")
|
||||
.AsInterfaces()
|
||||
.RegisterAsLazySingleton();
|
||||
|
||||
RegisterAppStart<MainViewModel>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue