Reimplemented using MVVMCross (SearchResultWindow & DownloadWindow WIP)
This commit is contained in:
parent
c7308cfc29
commit
aada82693d
33 changed files with 1609 additions and 1758 deletions
22
auto-creamapi/Core/App.cs
Normal file
22
auto-creamapi/Core/App.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using auto_creamapi.Services;
|
||||
using auto_creamapi.ViewModels;
|
||||
using MvvmCross;
|
||||
using MvvmCross.IoC;
|
||||
using MvvmCross.ViewModels;
|
||||
|
||||
namespace auto_creamapi.Core
|
||||
{
|
||||
public class App : 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